ngx-excel-export icon indicating copy to clipboard operation
ngx-excel-export copied to clipboard

Can i export an excel file with complex object

Open johnnynakazi opened this issue 7 years ago • 1 comments

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 ?!

johnnynakazi avatar Apr 27 '18 20:04 johnnynakazi

Apparently, it exports only simple JSON objects. The complex objects are not exported properly. I'm still investigating this. Hope I find something.

fatihkaratay avatar Oct 03 '18 14:10 fatihkaratay