The following events are available in dhtmlxLayout:
onDock/onUndock - occurs when the user clicks the left mouse button on item's button “Dock”/“Undock”
-
-
onExpand - occurs when an item is being expanded;
onCollapse - occurs when an item is being collapsed.
onDblClick - occurs when an item's header is double-clicked
Event names are case-insensitive.
If you need to attach event to an application, use the attachEvent() method with the following parameters:
dhxLayout.attachEvent(evName, evHandler);