DHTMLX Docs & Samples Explorer

defineAction (status, handlerFunc)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxdataprocessor.js

allows to define handler function of the specified status

dp.defineAction("update",function(response){
   var message = response.getAttribute("message");
   alert(message);
   return true;// return false to cancel default data processing at all
})