View as Markdown

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.

ColumnsSetFreezeCommand members (3)
NameSignatureDescription
typereadonly type: 'columns.setFreeze';
columnIdreadonly columnId: ColumnId;
freezereadonly freeze: ColumnFreeze | null;