Check documentation for the latest version 6.0 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){ ... };

Parameters

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