Check documentation for the latest version of dhtmlxSuite detachEvent DHTMLX Docs

detachEvent

removes user-defined handler from inner events ( assuming that handler was attached by attachEvent )

  • id - if of handler ( result of attachEvent operation )
void detachEvent();

Example

var id = chart.attachEvent(evName, evHandler);
              ...
              chart.detachEvent(id);

Back to top