Skip to content

Class

+ 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

Readonly

• command: AddColumnsCommand

Defined in hyperformula/src/UndoRedo.ts:227


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.

▸ doRedo(undoRedo: UndoRedo): void

Defined in hyperformula/src/UndoRedo.ts:238

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


▸ doUndo(undoRedo: UndoRedo): void

Defined in hyperformula/src/UndoRedo.ts:234

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


▸ 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[]