DHTMLX Docs & Samples Explorer

setFormData(data)

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

Parameters:

  • data - the hash of properties
form.setFormData({
  some1:mygrid.cells(id, 1).getValue(),
  some2:mygrid.cells(id, 2).getValue(),
});

See also: