DHTMLX Docs & Samples Explorer

onSelect Event

This event calls user-defined handlers (if there are any) and passes the following parameters:

  • id - id of the selected item (ids of selected items list in case of multiselection).
        tree.attachEvent("onSelect", function(id){});