react-component / tree

React Tree
https://tree.react-component.now.sh/
MIT License
1.21k stars 484 forks source link

Is there a way to show/hide a few nodes in the tree? #840

Open ramganesht opened 5 months ago

ramganesht commented 5 months ago

I wanted to implement filtering on tree nodes, is there a way to show/hide few nodes in the tree while they exist in DOM? Note that tree data is loaded async by an API call and each node expansion also is an async operation which will API call to get data and render child nodes based on it.

AHorak commented 4 months ago

Look at his issue: https://github.com/react-component/tree/issues/430 Hope this helps :-)