# SetColumnOrderUndoEntry

## Constructors

### constructor

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

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

**Parameters:**

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

**Returns:** *[SetColumnOrderUndoEntry](setcolumnorderundoentry.md)*

## Properties

### columnMapping

• **columnMapping**: *[number, number][]*

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

___

### oldContent

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

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

___

### sheetId

• **sheetId**: *number*

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

## Methods

### doRedo

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

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

**Parameters:**

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

**Returns:** *void*

___

### doUndo

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

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

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