detachEvent
detaches a handler from an event (which was attached before by the attachEvent method)
function detachEvent( // the event id (the result of the attachEvent operation) id: string): void
Example
Section titled “Example”var myEvent = mygrid.attachEvent("onItemClick", function (){ ...//event handler code});...mygrid.detachEvent(myEvent);
See also
Section titled “See also”Articles
API