reactdatagrid icon indicating copy to clipboard operation
reactdatagrid copied to clipboard

Setting a different dataSource on the tree grid does not clear the async node cache

Open yurigenin opened this issue 3 years ago • 1 comments

  • 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.

yurigenin avatar May 18 '22 19:05 yurigenin

Running into the same issue. Is there a plan to address this?

kavitaasiwal avatar Apr 13 '23 23:04 kavitaasiwal