DHTMLX Docs & Samples Explorer

onBeforeDataLoad Event

Event occurs when data for the form is received , but before it assigned to actual fields

Parameters for inputs:

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

Event is blockable. Returning false will prevent loading data in the form