DHTMLX Docs & Samples Explorer

detachEvent (id)

Required library edition: This method works with any edition of DHTMLX library

Required library file: dhtmlxchart.js

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

  • id - if of handler ( result of attachEvent operation )
              var id = chart.attachEvent(evName, evHandler);
              ...
              chart.detachEvent(id);