DHTMLX Docs & Samples Explorer

detachEvent(id)

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

removes an event handler

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