APEX-AT-WORK no image
Tags:

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:
http://www.extjs.com/forum/showthread.php?95597-Ext-tree-href-event-on-whole-div-element

Post Tags: