# AddRowsUndoEntry Class

# Constructors

# constructor

+ new AddRowsUndoEntry(command: AddRowsCommand): AddRowsUndoEntry

Defined in src/UndoRedo.ts:94 (opens new window)

Parameters:

Name Type
command AddRowsCommand

Returns: AddRowsUndoEntry

# Properties

# command Readonly

• command: AddRowsCommand

Defined in src/UndoRedo.ts:96 (opens new window)

# Methods

# doRedo

▸ doRedo(undoRedo: UndoRedo): void

Defined in src/UndoRedo.ts:105 (opens new window)

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# doUndo

▸ doUndo(undoRedo: UndoRedo): void

Defined in src/UndoRedo.ts:101 (opens new window)

Parameters:

Name Type
undoRedo UndoRedo

Returns: void


# getReferencedOldDataVersions

▸ getReferencedOldDataVersions(): number[]

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