Question: Once a search item is found, how to display and open its children nodes?
Hello! Thank you for this great library! Really appreciate your effort in saving so much time for so many people!
Let me ask my question with an example:
Let's suppose I have below structure:
Grand Parent
Parent
Children Children0.5
Grand Parent 1
Parent 1
Children 1.1 Children 1.2
If I search for "Parent 1", currently it will only show "Parent 1". What I am looking, if possible, is "Parent 1" to show but at the same time "Children 1" opens as well...or clicking on "Parent 1" opens its children.
Similarly, if I search for "Grand Parent 1", it should allow to display "Parent 1" and "Children 1.1" and "Children 1.2".
Would this be possible?
Hi, thanks for bringing this up.
I had the same thought when I built this component, and decided to let it sink a bit and just built the simplest search. Indeed it's possible, and the next request would probably be: the fold/expand behaviour should also continue to work while searching (currently it will expand everything regardless).
Any further inspirations are welcome 😃. Feel free to send your PR as well.