The format for sending data to a closedXML template is a bit confusing to me.
In the Flat tables docs there's a sample for a template with header info and data from a list for the report, but I don't see where the list is connected to the template.
I have a similar scenario - header info for the top, data in a list for the report.
I've tried defining an object with all the data in it:
public class AllocationExportData
{
public List<AllocationExportItem> AllocationList { get; set; }
public string Host_custname { get; set; }
public string Host_custaddr { get; set; }
}
and setting up the template using those variables
But only the top two values are being found
I figure I'm naming something wrong, or setting up the object wrong.
Anyone?