Check documentation for the latest version of dhtmlxSuite onBeforeDataLoad DHTMLX Docs

onBeforeDataLoad

fires after the data for the form received, but before it's assigned to actual fields

void onBeforeDataLoad(string|number id,object values);
idstring|numberthe form id
valuesobjecta hash of values

Example

myForm.attachEvent("onBeforeDataLoad", function (id, values){
   //your code here
    return true;
});

Details

The event is blockable. Returning "false" will prevent loading data into the form

Back to top