DHTMLX Docs & Samples Explorer

detachEvent(id)

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

removes an event handler

  • id - event's id
var evId = dhxAcc.attachEvent("onActive", function(){});
 // detaching event
dhxAcc.detachEvent(evId);