Hi @iannbing, First of all, Thanks for the wonderful library which helped me a lot.
But I am facing lil issue with the openNodes prop. let me show you the code.
`
Here, I tried to open all the parent nodes till their children, but it is just opening the first parent let's say mammal. also, I m unable to expand(also click) the rest of the parents till dog.
I think what you want is probably initialOpenNodes instead of openNodes. openNodes allows you to have direct control of what nodes should be open (meaning that, user cannot freely expand/collapse nodes).
Hi @iannbing, First of all, Thanks for the wonderful library which helped me a lot. But I am facing lil issue with the
openNodes
prop. let me show you the code. `Hello CodeSandbox
Here, I tried to open all the parent nodes till their children, but it is just opening the first parent let's say
mammal
. also, I m unable to expand(also click) the rest of the parents tilldog
.I think what you want is probably
initialOpenNodes
instead ofopenNodes
.openNodes
allows you to have direct control of what nodes should be open (meaning that, user cannot freely expand/collapse nodes).Yeah, It works. Thanks for making it to my consideration ! @iannbing