Check documentation for the latest version of dhtmlxSuite onSelect DHTMLX Docs

onSelect

fires when selection in the tree was changed

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