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

> The ColumnsSetFreezeCommand type of @salmonui/data-grid/engine: Pins ('left', 'right') or unpins (null) a leaf at runtime. The column moves to the inner edge of its new zone: the end of the left zone, the start of the right zone, or the matching edge of the center.

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

```ts
import type { ColumnsSetFreezeCommand } 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 ColumnsSetFreezeCommand = {
    readonly type: 'columns.setFreeze';
    readonly columnId: ColumnId;
    readonly freeze: ColumnFreeze | null;
};
```

Pins (`'left'`, `'right'`) or unpins (`null`) a leaf at runtime.
The column moves to the inner edge of its new zone: the end of the left
zone, the start of the right zone, or the matching edge of the center.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `readonly type: 'columns.setFreeze';` |  |  |
| `columnId` | `readonly columnId: ColumnId;` |  |  |
| `freeze` | `readonly freeze: ColumnFreeze \| null;` |  |  |
