View as Markdown

API reference: @salmonui/data-grid/engine

CellKeytype

import type { CellKey } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid/engine/selection.

type CellKey = {
    readonly rowId: RowId;
    readonly columnId: ColumnId;
};

A cell by ids (a type alias of the core CellKey shape, so commands stay JSON-typed).

CellKey members (2)
NameSignatureDescription
rowIdreadonly rowId: RowId;
columnIdreadonly columnId: ColumnId;