Check documentation for the latest version of dhtmlxSuite onSelect DHTMLX Docs

onSelect

fires when an item is selected

void onSelect(string|number id,boolean mode);
idstring|numberthe item's id
modebooleantrue if item was selected, false otherwise

Example

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

See also
Back to top