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

setFormData

sets values for all items (form's controls) in the component

void setFormData(object data);

Parameters

dataobjectthe hash of properties

Example

form.setFormData({
  some1:mygrid.cells(id, 1).getValue(),
  some2:mygrid.cells(id, 2).getValue(),
});

Back to top