I�m trying out the DHTMLX Tree and have following one of the examples given. This is my tree definition:

No matter what I do, when I click on a node or an item, the tree always responds with the node or item value.

I�ve changes the tree and function around several times but the response is always the same. How can I get the tree to go to onNodeSelect() when I click on something?



setOnClickHandler sets onclick event handler only for tree items.

For what purpose do you want to use this method ?

Hi Alex,

Actually, I got the tree working ok. The problem was that I was using JSP which wasn�t being refreshed. After the server got the new version of the JSP the tree works as intended.

Thanks for the help.