Check documentation for the latest version of dhtmlxSuite onClick DHTMLX Docs

onClick

fires when a TreeView item has been clicked

void onClick(string|number id);
idstring|numberid of the clicked item

Example

myTreeView.attachEvent("onClick", function(id){
    // your code here
});

See also
Change log

added in version 5.1

Back to top