# Sandbox.UI.ColumnView.MoveColumn

```csharp
void MoveColumn(string key, int index)
```

Moves a column and its cells to a zero-based position in the displayed order.

### Parameters

- `key` (`string`)
- `index` (`int`)

Declared in [Sandbox.UI.ColumnView](/api/Sandbox.UI.ColumnView).
Assembly: `Sandbox.Engine`.
