Gets the mode of a cell.
The id of the row.
The field to get the mode.
Returns "edit"
or "view"
.
Gets the mode of a row.
The id of the row.
Returns "edit"
or "view"
.
Returns the row with the values that were set by editing the cells.
In row editing, field
is ignored and all fields are considered.
The row id being edited.
The field being edited.
The row with edited values.
Controls if a cell is editable.
The cell params.
A boolean value determining if the cell is editable.
Sets the value of the edit cell. Commonly used inside the edit cell component.
Contains the id, field and value to set.
Optional
event: MuiBaseEventThe event to pass forward.
A promise with the validation status.
Puts the cell corresponding to the given row id and field into view mode and updates the original row with the new value stored.
If params.ignoreModifications
is true
it will discard the modifications made.
The row id and field of the cell to stop editing.
Puts the row corresponding to the given id and into view mode and updates the original row with the new values stored.
If params.ignoreModifications
is true
it will discard the modifications made.
The row id and field of the cell to stop editing.
The editing API interface that is available in the grid
apiRef
.