DHTMLX Docs & Samples Explorer

attachEvent (evName, evHandler)

Adds any user-defined handler to available event.

data.attachEvent(evName, evHandler);

Parameters:

  • evName - the event name.
  • evHandler - the user-defined event handler.

Description:

Several handlers can be attached to the same event, and all of them will be executed.

 
Events' names are case-insensitive.