# MoveColumnsUndoEntry

## Constructors

### constructor 

\+ **new MoveColumnsUndoEntry**(`sheet`: number, `startColumn`: number, `numberOfColumns`: number, `targetColumn`: number, `version`: number): *[MoveColumnsUndoEntry](movecolumnsundoentry.md)*

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

**Parameters:**

Name | Type |
------ | ------ |
`sheet` | number |
`startColumn` | number |
`numberOfColumns` | number |
`targetColumn` | number |
`version` | number |

**Returns:** *[MoveColumnsUndoEntry](movecolumnsundoentry.md)*

## Properties

### numberOfColumns

• **numberOfColumns**: *number*

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

___

### sheet

• **sheet**: *number*

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

___

### startColumn

• **startColumn**: *number*

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

___

### targetColumn

• **targetColumn**: *number*

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

___

### undoEnd

• **undoEnd**: *number*

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

___

### undoStart

• **undoStart**: *number*

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

___

### version

• **version**: *number*

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

## Methods

### doRedo 

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

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

**Parameters:**

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

**Returns:** *void*

___

### doUndo 

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

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

**Parameters:**

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

**Returns:** *void*

___

### getReferencedOldDataVersions 

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

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

**Returns:** *number[]*