I want to get all the key from the root node, I tried many possible option but was unlucky.

13 views
Skip to first unread message

chet...@gmail.com

unread,
May 28, 2015, 8:41:33 AM5/28/15
to dyna...@googlegroups.com
var rootNode = $("#tree").dynatree("getRoot");
            var child = rootNode.childList;
            alert(child.length);
This return me one. I want all of parents + children key.

I require this because in my page content I have links, which in turn points to some page in the tree. So as soon as user clicks on certain link, I want to open the related node and make that child as  selected.


Reply all
Reply to author
Forward
0 new messages