DHTMLX Docs & Samples Explorer

onBeforeRemove Event

Event occurs when signal to delete current record is received

Parameters for inputs

  • form id
  • hash of values
  myform.attachEvent("onBeforeRemove", function (id, values){
       //any custom logic here
       return true;
  });

Event is blockable. Returning false will prevent deleting of the record