Hi all,
I can get id and text of the node when I expand a node in a treepanel. The code added to listeners like this:
listeners: { itemexpand: function(node) { alert( node.get('id') + node.get('text') ); } }
It runs ok. How can I get id and text of the node WHEN I CLICK a node? The code below does not work:
listeners: { itemclick: function(node) { alert( node.get('id') + node.get('text') ); } }
Any help will be appreciated.