Check documentation for the latest version 6.0 of dhtmlxSuite resetDataProcessor DHTMLX Docs

resetDataProcessor

sets the mode of saving, if Form is used together with DataProcessor

void resetDataProcessor(string mode);

Parameters

modestringthe mode of saving data in a form ("inserted" or "updated")

Example

myForm.resetDataprocessor(mode);

Details
  • if the "inserted" mode is set, the myForm.save() function will add a new record on the server
  • if the "updated" mode is set, the myForm.save() function will update the current data on the server
Back to top