# AddRowsUndoEntry Class
# Constructors
# constructor
+ new AddRowsUndoEntry(command: AddRowsCommand, overwrittenCells: [SimpleCellAddress, ClipboardCell][][]): AddRowsUndoEntry
Defined in hyperformula/src/UndoRedo.ts:94 (opens new window)
Parameters:
| Name | Type | Default |
|---|---|---|
command | AddRowsCommand | - |
overwrittenCells | [SimpleCellAddress, ClipboardCell][][] | [] |
Returns: AddRowsUndoEntry
# Properties
# command Readonly
• command: AddRowsCommand
Defined in hyperformula/src/UndoRedo.ts:96 (opens new window)
# overwrittenCells Readonly
• overwrittenCells: [SimpleCellAddress, ClipboardCell][][]
Defined in hyperformula/src/UndoRedo.ts:98 (opens new window)
Per added span, the cells that arrays grown by the span overwrote, in the coordinates from before the span.
# Methods
# doRedo
▸ doRedo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:107 (opens new window)
Parameters:
| Name | Type |
|---|---|
undoRedo | UndoRedo |
Returns: void
# doUndo
▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:103 (opens new window)
Parameters:
| Name | Type |
|---|---|
undoRedo | UndoRedo |
Returns: void
# getReferencedOldDataVersions
▸ getReferencedOldDataVersions(): number[]
Defined in hyperformula/src/UndoRedo.ts:42 (opens new window)
Returns LazilyTransformingAstService version keys referenced by this entry's oldData. Default implementation returns empty — override in entries that store oldData.
Returns: number[]