DHTMLX Docs & Samples Explorer

onBeforeUpdate event

occurs before data sending to the server, occurs for each row, blockable.

dp.attachEvent("onBeforeUpdate",function(id,status, data){
  //any custom code
  return true;
})

Parameters:

  • id - (string) row id;
  • status - ('updated', 'inserted', deleted') row status;
  • data - (object) the data to send.