Skip to content

EditAction

Since v0.1.1

Represents a single edit action that can be undone/redone

PropertyTypeDescription
typecell-editType of action - currently only ‘cell-edit’ is supported
rowIndexnumberThe display (processed-row) index where the edit occurred, at the time of the edit. Only used to locate the row when rowId is unavailable — it goes stale as soon as a sort, filter, or row insert/removal changes the view.
rowId?stringStable ID of the edited row (from getRowId / row.id), captured when the edit is recorded. Undo/redo resolve the target row by this ID, so they keep hitting the right row after the view is sorted or filtered — including rows currently filtered out of view. undefined when the row has no resolvable ID; the action then falls back to rowIndex. v3.9.2+
fieldstringThe field (column key) that was edited
oldValueunknownThe value before the edit
newValueunknownThe value after the edit
timestampnumberUnix timestamp when the edit occurred