react-complex-tree icon indicating copy to clipboard operation
react-complex-tree copied to clipboard

tree update

Open yaximi111 opened this issue 2 years ago • 1 comments

I tried to re-update the whole tree after moving the tree node but did not render it according to the latest data, and after I updated the root node index and assigned the original expandKeys still did not work, how should this problem be solved

yaximi111 avatar Jun 18 '23 12:06 yaximi111

If you change the data behind your tree from outside, you need to tell RCT that data has changed, you can do so by implementing a custom TreeDataProvider. There are some discussions on this in #255 and #244. If this is not your issue, I'd need more details on what you are doing and what is not working.

lukasbach avatar Jun 20 '23 11:06 lukasbach