PDA

View Full Version : tree getPath()



alexbt
30 Jul 2007, 12:33 AM
My question concerns traversing tree nodes.
How can I get a node path but instead of path based on nodes ids (/0/1/2/3) to get a path based on nodes names (node.attribute.text) like /Node 1/Node 2/ Node 3 ?
Is there a built-in method?

Any help is highly appriciated!

evant
30 Jul 2007, 2:02 AM
Read the documentation:

http://extjs.com/deploy/ext/docs/output/Ext.tree.TreeNode.html#getPath