DHTMLX Docs & Samples Explorer

onOpenEnd Event

Required library edition: This method requires Professional Edition of the DHTMLX library

The event occurs when branch opened (in case of dyn. loading - after xml loading)

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

  • id - id of the node that will be opened/closed;
  • state - current open state of tree item; -1 means that the item is closed, 1 - item is opened.
        grid.attachEvent("onOpenEnd", function(id,state){});