I'm using Fancytree (https://github.com/mar10/fancytree) and I have this tree structure:
root
|_ child1
|_ subchild1
|_ subchild2
|_ subchild3
|_ subchild4
If the the selected node is child1
I can get the first children using window.tree.activeNode.children
or window.tree.activeNode.getChildren()
but that only return [subchild1, subchild2]
. There are anyway get all the children?
A method that return: [subchild1, subchild2, subchild3, subchild4]
?