DHTMLX Docs & Samples Explorer

Event Handling

The following events are available in dhtmlxLayout:

Attaching Event Handler

The user can add any user-defined handler to any of the available events.

To do this the user can use attachEvent() method with the following parameters:

  • evName - name of the event;
  • evHandler - user-defined event handler.
    <script>
        dhxLayout.attachEvent(evName, evHandler);
    </script>

Note: the names of the events are case-insensitive.