Check documentation for the latest version 6.0 of dhtmlxSuite onSelect DHTMLX Docs

onSelect

fires when an item is selected

void onSelect(string|number id,boolean mode){ ... };

Parameters

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