Posted 26 June 2022, 10:02 pm EST
hello,
i use flexgrid,
I want to calculate when the data is loaded
collectionView changed not working
Is there any other way?
The way I use it is
grid.itemsSource = data[“”];
help plz
Forums Home / Wijmo / General Discussion
Posted by: bigdata on 26 June 2022, 10:02 pm EST
Posted 26 June 2022, 10:02 pm EST
hello,
i use flexgrid,
I want to calculate when the data is loaded
collectionView changed not working
Is there any other way?
The way I use it is
grid.itemsSource = data[“”];
help plz
Posted 27 June 2022, 8:46 am EST
Hello,
As per your shared code snippet, it seems you are updating the itemsSource property to change the data source if that’s the case then you may handle the itemsSourceChanged event of FlexGrid. The itemsSourceChanged event will get triggered when the grid gets bound to a new items source.
API link: https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#itemssourcechanged
You can also refer to the loadedRows event which gets triggered when the data bounded rows get changed on the grid.
API link: https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#loadedrows
Regards