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);

Details

This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.

Back to top