Hi,
It appears that the majority, if not all uses of CreateExcelPackage, seems to work on a relatively flat object.
However we have a case where we have some sublists, eg:
Person: public long PersonId; public string PersonName; public List<Type> Types;
Type: public long TypeId; public string TypeName; public int TypeCount;
And we would want to present the data as follows:
PersonId, PersonName, TypeCountX....
The amount of types will be variable so we cannot statically set an object to a pre-determined number of types. However the CreateExcelPackage usages, seem only to be able to process the eg the longs and strings in this scenario, and not the sublists.
Im guessing therefore we will need to extend EpPlusExcelExporterBase and add our own function to handle the list?
Simon
1 Answer(s)
-
0
Hi @sddev
You can add new methods to EpPlusExcelExporterBase. Do you want us to add such an option ?