Posted 4 June 2018, 5:32 pm EST
How to add empty bounded flexsheet sheet. Data will populated later (at runtime)
Forums Home / Wijmo / General Discussion
Posted by: chayankar209 on 4 June 2018, 5:32 pm EST
Posted 4 June 2018, 5:32 pm EST
How to add empty bounded flexsheet sheet. Data will populated later (at runtime)
Posted 5 June 2018, 4:54 pm EST
Hi,
In your use case, you can add an unbound sheet first and then change it to bound sheet later by setting its itemSource property to a source of type array or ICollectionView.
Please refer to following sample for the same:- https://stackblitz.com/edit/angular-uym27s?file=app%2Fapp.component.ts
PS: If you have information about columns those will be displayed in Sheet. Create a FlexGrid instance and pass to the addBoundSheet method with Empty CollectionView.
~Manish