Check documentation for the latest version of dhtmlxSuite Handling Events DHTMLX Docs

Handling Events

DHTMLX Connector uses events to manage Insert/Update/Delete operations.

The code below shows how to attach an event:

<cfset conn.event.attach("event_name",handlerFunc)>


  • event_name - the name of the event;
  • handlerFunc - a handler function.

Handler functions get one input parameter and this parameter depends on the attached event.

In the following table you'll see a full list of events and the appropriate input parameters of handler functions.

Event Input parameter of handler function
beforeSort SortInterface Object
beforeFilter FilterInterface Object
beforeRender DataItem Object

DataAction Object
beforeOutput none

Back to top