APEX-AT-WORK no image

onClick event over whole EXTJS tree node

Von Tobias Arnhold 5.14.2010
I while ago I had an issue with the ExtJS tree. Somebody mentioned that not all parts of an ext tree node (for example the icons or the empty area) get called by an onClick event. There are just two line of code you need to add to your tree:

tree.on('click', function(node){ // tree is the created ExtJS tree object
fnc_openWindow(node.id); //this is the javascript function I call

Watch the whole post in the ExtJS forum to get more information about it:

Post Tags:

1 One Comment " onClick event over whole EXTJS tree node "

vipul 02 December, 2010 12:01

can we have a radio tree in extjs...
or some modification in code so that the check tree behaves as a radio tree..i.e the user can select only one leaf node of the parent node