Full-Row Edit Mode
Opens editors in every editable cell of a row at the same time, with Save and Cancel actions for the whole row. Row-level validation runs before saving. This suits records whose fields depend on each other.
Planned. This page shows the specification from issue #193. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
An employees grid with an actions column containing Edit, Save and Cancel buttons.
Expected behavior
Clicking Edit or pressing Enter opens all editable cells in the row. Tab moves between the row's editors. Save validates the row and writes all the changes in one operation. Cancel reverts every field.
Planned API surface
editMode: 'row'startRowEdit(rowId)saveRow(rowId)cancelRowEdit(rowId)onBeforeRowSaveonRowSavedrowActionsColumnAcceptance criteria
- All changes to a row are committed in one atomic update with one onRowSaved event. (pending)
- Cancel restores every field of the row. (pending)
- With the single-row option, starting to edit another row either asks to save the current one or saves it automatically, according to the configuration. (pending)
- Row validation errors keep the row in edit mode. (pending)