MiniExcel
MiniExcel copied to clipboard
Support for deep level properties
Excel Type
- [x] XLSX
- [ ] XLSM
- [ ] CSV
- [ ] OTHER
MiniExcel Version
1.31.2
Description
When filling data using a template it only seems to support top level properties?
I have a collection which has deeper level properties that I want to fill
Purely for example {{Logs.User.Name}} doesn't get filled
var export = new
{
Logs = new[]
{
new
{
User = new
{
Name = "Nick"
}
},
new
{
User = new
{
Name = "Sam"
}
}
}
};
public class ExportData
{
public List<Log> Logs;
}
public class Log
{
public User User;
}
public class User
{
public string Name;
}