AddColumnsUndoEntry
Class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”+ new AddColumnsUndoEntry(command: AddColumnsCommand, overwrittenCells: [SimpleCellAddress, ClipboardCell][][]): AddColumnsUndoEntry
Defined in hyperformula/src/UndoRedo.ts:225
Parameters:
| Name | Type | Default |
|---|---|---|
command |
AddColumnsCommand | - |
overwrittenCells |
[SimpleCellAddress, ClipboardCell][][] | [] |
Returns: AddColumnsUndoEntry
Properties
Section titled “Properties”command
Section titled “command”Readonly
• command: AddColumnsCommand
Defined in hyperformula/src/UndoRedo.ts:227
overwrittenCells
Section titled “overwrittenCells”Readonly
• overwrittenCells: [SimpleCellAddress, ClipboardCell][][]
Defined in hyperformula/src/UndoRedo.ts:229
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:238
Parameters:
| Name | Type |
|---|---|
undoRedo |
UndoRedo |
Returns: void
doUndo
Section titled “doUndo”▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:234
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[]