# SetRowOrderUndoEntry

## Constructors

### constructor 

\+ **new SetRowOrderUndoEntry**(`sheetId`: number, `rowMapping`: [number, number][], `oldContent`: [[SimpleCellAddress](../interfaces/simplecelladdress.md), [ClipboardCell](../globals.md#clipboardcell)][]): *[SetRowOrderUndoEntry](setroworderundoentry.md)*

*Defined in [src/UndoRedo.ts:111](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L111)*

**Parameters:**

Name | Type |
------ | ------ |
`sheetId` | number |
`rowMapping` | [number, number][] |
`oldContent` | [[SimpleCellAddress](../interfaces/simplecelladdress.md), [ClipboardCell](../globals.md#clipboardcell)][] |

**Returns:** *[SetRowOrderUndoEntry](setroworderundoentry.md)*

## Properties

### oldContent

• **oldContent**: *[[SimpleCellAddress](../interfaces/simplecelladdress.md), [ClipboardCell](../globals.md#clipboardcell)][]*

*Defined in [src/UndoRedo.ts:115](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L115)*

___

### rowMapping

• **rowMapping**: *[number, number][]*

*Defined in [src/UndoRedo.ts:114](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L114)*

___

### sheetId

• **sheetId**: *number*

*Defined in [src/UndoRedo.ts:113](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L113)*

## Methods

### doRedo 

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

*Defined in [src/UndoRedo.ts:124](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L124)*

**Parameters:**

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

**Returns:** *void*

___

### doUndo 

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

*Defined in [src/UndoRedo.ts:120](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L120)*

**Parameters:**

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

**Returns:** *void*

___

### getReferencedOldDataVersions 

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

*Defined in [src/UndoRedo.ts:43](https://github.com/handsontable/hyperformula/blob/5aaeae0/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[]*