DHTMLX Docs & Samples Explorer

detachEvent(id)

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

removes an event handler

  • id - event id
    var id = dhxLayout.attachEvent("onExpand",function(){});
    // detaching event
    dhxLayout.detachEvent(id);