# SetCellContentsUndoEntry

## Constructors

### constructor

\+ **new SetCellContentsUndoEntry**(`cellContents`: object[]): *[SetCellContentsUndoEntry](setcellcontentsundoentry.md)*

*Defined in [hyperformula/src/UndoRedo.ts:351](https://github.com/handsontable/hyperformula/blob/927d211/hyperformula/src/UndoRedo.ts#L351)*

**Parameters:**

Name | Type |
------ | ------ |
`cellContents` | object[] |

**Returns:** *[SetCellContentsUndoEntry](setcellcontentsundoentry.md)*

## Properties

### cellContents

• **cellContents**: *object[]*

*Defined in [hyperformula/src/UndoRedo.ts:353](https://github.com/handsontable/hyperformula/blob/927d211/hyperformula/src/UndoRedo.ts#L353)*

## Methods

### doRedo

▸ **doRedo**(`undoRedo`: [UndoRedo](undoredo.md)): *void*

*Defined in [hyperformula/src/UndoRedo.ts:368](https://github.com/handsontable/hyperformula/blob/927d211/hyperformula/src/UndoRedo.ts#L368)*

**Parameters:**

Name | Type |
------ | ------ |
`undoRedo` | [UndoRedo](undoredo.md) |

**Returns:** *void*

___

### doUndo

▸ **doUndo**(`undoRedo`: [UndoRedo](undoredo.md)): *void*

*Defined in [hyperformula/src/UndoRedo.ts:364](https://github.com/handsontable/hyperformula/blob/927d211/hyperformula/src/UndoRedo.ts#L364)*

**Parameters:**

Name | Type |
------ | ------ |
`undoRedo` | [UndoRedo](undoredo.md) |

**Returns:** *void*

___

### getReferencedOldDataVersions

▸ **getReferencedOldDataVersions**(): *number[]*

*Defined in [hyperformula/src/UndoRedo.ts:43](https://github.com/handsontable/hyperformula/blob/927d211/hyperformula/src/UndoRedo.ts#L43)*

Returns LazilyTransformingAstService version keys referenced by this entry's oldData.
Default implementation returns empty — override in entries that store oldData.

**Returns:** *number[]*