Check documentation for the latest version of dhtmlxSuite setFormData DHTMLX Docs

setFormData

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

void setFormData(object data);
dataobjectthe hash of properties

Example

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

Back to top