PDA

View Full Version : Tree Node Text



janixams
28 May 2008, 10:02 AM
Hello all,
I need to know how to get the text of a tree node.
Can anybody help me?
Thanks a lot.

janixams
28 May 2008, 12:09 PM
Hello all,
I need to know how to get the text of a tree node.
Can anybody help me?
Thanks a lot.

I found the solution to my own problem, maybe anybody can need it, so here is it:

myTree.on('click', function (){
var node = myTree.selModel.selNode;
alert(node.text);
})With this code I get the tree node text.