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

onSelect

fires when selection in the tree was changed

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

Parameters

idstring|numberthe id of the selected item (list of selected items' ids in case of multiselection)

Example

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

Back to top