Check documentation for the latest version of dhtmlxSuite setFieldName DHTMLX Docs

setFieldName

allows defining an input's name which will be used for data sending,

void setFieldName(string name);
namestringthe mask of an input's name

Example

mygrid.setFieldName("{GRID_ID}[{ROW_INDEX}].{COLUMN_ID}"); // gridbox[0].columnA

Details

the input's name may contain the following auto-replaced elements:

  • GRID_ID - the id of the grid's container,
  • ROW_ID - the ID of a row,
  • ROW_INDEX - the index of a row,
  • COLUMN_ID - the id of a column,
  • COLUMN_INDEX - the index of a column.
Back to top