AddRowsUndoEntry
Class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new AddRowsUndoEntry(command: AddRowsCommand, overwrittenCells: [SimpleCellAddress, ClipboardCell][][]): AddRowsUndoEntry
Defined in hyperformula/src/UndoRedo.ts:95
Parameters:
| Name | Type | Default |
|---|---|---|
command |
AddRowsCommand | - |
overwrittenCells |
[SimpleCellAddress, ClipboardCell][][] | [] |
Returns: AddRowsUndoEntry
Properties
Section titled “Properties”command
Section titled “command”Readonly
• command: AddRowsCommand
Defined in hyperformula/src/UndoRedo.ts:97
overwrittenCells
Section titled “overwrittenCells”Readonly
• overwrittenCells: [SimpleCellAddress, ClipboardCell][][]
Defined in hyperformula/src/UndoRedo.ts:99
Per added span, the cells that arrays grown by the span overwrote, in the coordinates from before the span.
Methods
Section titled “Methods”doRedo
Section titled “doRedo”▸ doRedo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:108
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
doUndo
Section titled “doUndo”▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:104
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
getReferencedOldDataVersions
Section titled “getReferencedOldDataVersions”▸ getReferencedOldDataVersions(): number[]
Defined in hyperformula/src/UndoRedo.ts:43
Returns LazilyTransformingAstService version keys referenced by this entry’s oldData. Default implementation returns empty — override in entries that store oldData.
Returns: number[]