# SetColumnOrderUndoEntry

## Constructors

### constructor 

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

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

**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 [src/UndoRedo.ts:132](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L132)*

___

### oldContent

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

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

___

### sheetId

• **sheetId**: *number*

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

## Methods

### doRedo 

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

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

**Parameters:**

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

**Returns:** *void*

___

### doUndo 

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

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

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