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 = myComponent.attachEvent("eventName", function(){
    // your code here
});
 
// detach event
myComponent.detachEvent(evId);

Back to top