Check documentation for the latest version of dhtmlxSuite onBeforeSelect DHTMLX Docs

onBeforeSelect

fires before an item is selected

void onBeforeSelect(string|number id);
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