DHTMLX Docs & Samples Explorer

detachEvent (id)

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 )