API reference: @salmonui/data-grid/engine
ColumnsSetFreezeCommandtype
import type { ColumnsSetFreezeCommand } from '@salmonui/data-grid/engine';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.
| Name | Signature | Description |
|---|---|---|
type | readonly type: 'columns.setFreeze'; | |
columnId | readonly columnId: ColumnId; | |
freeze | readonly freeze: ColumnFreeze | null; |