DHTMLX Docs & Samples Explorer

onBeforeDelete

Event name is case insensitive

This event calls user-defined handlers (if there are any) and passes the following parameters:

  • id - the id of an item
  chart.attachEvent("onBeforeDelete", function (id){
       //any custom logic here
  });

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