DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### setFieldName(mask)

Required library edition:
Required library file: dhtmlxgrid_form.js

allows to define input name which will be used for data sending, name may contain next auto-replaced elements:

- GRID_ID - ID of grids container,
- ROW_ID - ID of row,
- ROW_INDEX - index of row,
- COLUMN_ID - id of column,
- COLUMN_INDEX - index of column

- name - input name mask

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

See also: submitAddedRows, submitOnlyChanged, submitOnlyRowID, submitOnlySelected, submitSerialization