the table
complete options
Readonly optionscomplete options
Records an own step (e.g. inserting rows) – not while an undo or redo runs.
the step
1.1.99
Records everything fn changes as one step (see TableApi.batchUndoable).
the label of the step
the changes
what fn returns
The table reports the write that was just recorded (onModelChanged): writes of handlers until endFold
belong to the same step.
Empties the history (batch commit/cancel, TableApi.clearUndoHistory).
End of beginFold.
the state of the history (for buttons)
Records written cells as a step (called by the table's write path).
the written cells
what wrote them
Optional undoable: booleanapi.applyCellChanges(…, { undoable }): overrides recordApiChanges
Records marked values of a batch edit as a step (called by the table).
pending entries before and after
what marked them
Optional undoable: booleanas in record
Undo and redo (TableOptionsIf.undo,
tableScope.undoService, only with the option): records every change that goes through the table's one write path (editor, fill handle, paste, cut, Delete;api.applyCellChangesonly withrecordApiChangesor{ undoable: true }) as one step, and marked values of a batch edit. Not recorded:updateCells,setRows(the history is emptied when the rows array is replaced), sorting, filter, row drag.Since
1.1.99