Check documentation for the latest version of dhtmlxSuite detachEvent DHTMLX Docs

detachEvent

detaches a handler from an event

void detachEvent(number id);
idnumberinternal event id, returned by attachEvent()

Example

// attach event
var evId = myWins.attachEvent("eventName", function(){
    // your code here
});
 
// detach event
myWins.detachEvent(evId);

Back to top