Skip to content

Class

+ 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

Readonly

• command: AddRowsCommand

Defined in hyperformula/src/UndoRedo.ts:97


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.

▸ doRedo(undoRedo: UndoRedo): void

Defined in hyperformula/src/UndoRedo.ts:108

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


▸ doUndo(undoRedo: UndoRedo): void

Defined in hyperformula/src/UndoRedo.ts:104

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