# ColumnsSetOrderCommand (@salmonui/data-grid/engine)

> The ColumnsSetOrderCommand type of @salmonui/data-grid/engine: Replaces the runtime leaf order. Unknown ids are ignored; missing leaves follow in definition order.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/ColumnsSetOrderCommand

```ts
import type { ColumnsSetOrderCommand } from '@salmonui/data-grid/engine';
```

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: type

```ts
type ColumnsSetOrderCommand = {
    readonly type: 'columns.setOrder';
    readonly order: readonly ColumnId[];
};
```

Replaces the runtime leaf order. Unknown ids are ignored; missing leaves follow in definition order.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `readonly type: 'columns.setOrder';` |  |  |
| `order` | `readonly order: readonly ColumnId[];` |  |  |
