Hi,
I would like to know how to refresh the grid when the state used as DataSource changes.
My scenario is the following, I have an array as state - this state is initially specified as DataSource. Via a button the array is changed, in my case some items are filtered out, and then the state is set again, but the data in the grid does not change in any way. Also no DataSourceChanged event is called.
I haven't found anything in the docs that could help me in this case, so I'm hoping someone here can point me in the right direction.
Thanks in advance!
Best Regards
Hi
Thanks for your quick response.
I´ve tried to reproduce the scenario via codesandbox.io and stackblitz, but it seems to work there.
So i assume this has something to do with our local environment. However i can provide you some screenshots and explanation!. Please take a look at the attached zip file - it also contains the code of our grid.
Additionally, i can confirm that the requried state is changing correctly - the state is getting updated, but the grid is not refreshing.
if you have any further questions, I am always at your disposal!