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

onBeforeSelect

fires before an item is selected

void onBeforeSelect(string|number id){ ... };

Parameters

idstring|numberthe item's id

Example

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

See also
Change log

added in v5.2

Back to top