DHTMLX Docs & Samples Explorer

detachEvent (id)

Required library edition: This method works with any edition of DHTMLX library
Required library file: datastore_debug.js

Removes user-defined handler from the inner event.

var id = data.attachEvent(evName, evHandler);
...
data.detachEvent(id);

Parameters:

  • id - the id of the handler ( the result of attachEvent() operation )