Is it possible to open/close a node when clicking on the label of the node (and the image) instead on the + or - symbol.
Thanks for your reply
Can be done as
tree.attachEvent(“onClick”,function(id){
tree.openItem(id);
})
Thanks, it works great !
And if I want to close the opened item, how can I do ?
Thanks in advance
Christophe
Just a bit more of code
tree.attachEvent(“onClick”,function(id){
if (tree.getOpenState(id)==1)
tree.closeItem(id);
else
tree.openItem(id);
})