Check documentation for the latest version of dhtmlxSuite onBeforeDelete DHTMLX Docs

onBeforeDelete

fired before an item is deleted

void onBeforeDelete(string|number id){ ... };

Parameters

idstring|numberthe id of an item

Example

myChart.attachEvent("onBeforeDelete", function (id){
//any custom logic here
});

Details

Event can be blocked, returning false will prevent normal reaction of component.

Event name is case insensitive

Back to top