zTree_v3
zTree_v3 copied to clipboard
Show searched nodes instead of only highlight them.
Is there any way to really search node and show only found ones? Highlighting them is pointless when we have a lot of them.
You can search node and create the nodes of the result , and use the init() method.
The other way, you search node and set the other nodes to hide. But this method is better complicated. Because you must judge which parent node will not to be hide.