reactdatagrid
reactdatagrid copied to clipboard
Setting a different dataSource on the tree grid does not clear the async node cache
- what edition are you using - enterprise
- version for
@inovua/reactdatagrid-communityor@inovua/reactdatagrid-enterprise- 4.18
Tree grid does not clear the node cache for asynchronous nodes every time a new dataSource array is used. This results in stale child data still shown for async nodes.
The expected behavior is that the node cache is cleared (reset) and the async nodes are collapsed so that new child data can be fetched on parent node expand.
I can see that the data source factory has a property clearNodeCacheOnDataSourceChange but it is not used anywhere. I think it was added for this purpose but the functionality has never been implemented.
Running into the same issue. Is there a plan to address this?