PDA

View Full Version : Getting the index of nodes in tree.



kavyakn
12 Mar 2012, 1:25 AM
The tree panel is created and then root node is set. Two parent group nodes are appended to the root node , and then the two groups are populated using different stores. How do i get the index of the nodes/ child of the group nodes in a itemclick function , in the listener of the tree ? Can anyone pls suggest ?

mitchellsimoens
12 Mar 2012, 7:13 AM
You're not really going to get the index but you can get the path of the node.