ngx-excel-export
ngx-excel-export copied to clipboard
Can i export an excel file with complex object
I have edited the person model that is in the example to be like this :
export class Person { id: number; name: { firstname: string, surname: string }; age: number; }
export const PERSONS: Person[] = [ { id: 1, name: { firstname: 'Thomas', surname: 'Novicky', }, age: 21 }, { id: 2, name: { firstname: 'Adam', surname: 'Tracz', }, age: 12 } ];
is it possible to export ?!
Apparently, it exports only simple JSON objects. The complex objects are not exported properly. I'm still investigating this. Hope I find something.