detachEvent

detaches a handler from an event (which was attached before by the attachEvent method)

void detachEvent(string id);
idstringthe event id (the result of the attachEvent operation)

Example

var myEvent = $$("mylist").attachEvent("onItemClick", function (){
    ...//event handler code
});
...
$$("mylist").detachEvent(myEvent);

Related samples

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web ui framework and page of javascript datatable product.