# AddColumnsUndoEntry Class
# Constructors
# constructor
+ new AddColumnsUndoEntry(command: AddColumnsCommand, overwrittenCells: [SimpleCellAddress, ClipboardCell][][]): AddColumnsUndoEntry
Defined in hyperformula/src/UndoRedo.ts:224 (opens new window)
Parameters:
| Name | Type | Default |
|---|---|---|
command | AddColumnsCommand | - |
overwrittenCells | [SimpleCellAddress, ClipboardCell][][] | [] |
Returns: AddColumnsUndoEntry
# Properties
# command Readonly
• command: AddColumnsCommand
Defined in hyperformula/src/UndoRedo.ts:226 (opens new window)
# overwrittenCells Readonly
• overwrittenCells: [SimpleCellAddress, ClipboardCell][][]
Defined in hyperformula/src/UndoRedo.ts:228 (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:237 (opens new window)
Parameters:
| Name | Type |
|---|---|
undoRedo | UndoRedo |
Returns: void
# doUndo
▸ doUndo(undoRedo: UndoRedo): void
Defined in hyperformula/src/UndoRedo.ts:233 (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[]