Check documentation for the latest version of dhtmlxSuite attachEvent DHTMLX Docs

attachEvent

adds any user-defined handler to available events

  • evName - event name;
  • evHandler - user-defined event handler.
void attachEvent();

Example

chart.attachEvent(evName, evHandler);
 
 
 
Several handlers can be attached to the same event, and all of them will be executed.
 
<div class='note'><p><p>event names are case-insensitive.</p>
</p></div>

Back to top