View as Markdown

API reference: @salmonui/data-grid/engine

SelectionSelectCellsCommandtype

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

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

type SelectionSelectCellsCommand = {
    type: 'selection.selectCells';
    cells: CellKey[];
    mode?: 'replace' | 'add' | 'toggle';
};
SelectionSelectCellsCommand members (3)
NameSignatureDescription
typetype: 'selection.selectCells';
cellscells: CellKey[];
modeoptionalmode?: 'replace' | 'add' | 'toggle';