DHTMLX Docs & Samples Explorer

onBeforeDelete Event

Parameters:

  • id of item, which will be removed
  view.attachEvent("onBeforeDelete", function (id){
       //any custom logic here
  });

Event is blockable, if non-true value returned from custom method, default reaction will be blocked