View as Markdown

API reference: @salmonui/data-grid/engine/row-pinning

RowPinningSetCommandtype

import type { RowPinningSetCommand } from '@salmonui/data-grid/engine/row-pinning';
type RowPinningSetCommand = {
    type: 'rowPinning.set';
    pinned: RowId[];
    unpinned?: RowId[];
};

Replaces the explicit pins and unpins (state restore).

RowPinningSetCommand members (3)
NameSignatureDescription
typetype: 'rowPinning.set';
pinnedpinned: RowId[];
unpinnedoptionalunpinned?: RowId[];