onClick

fires when a TreeView item has been clicked

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

Parameters

idstring|numberid of the clicked item

Example

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

See also
Change log

added in version 5.1

Back to top