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';
};
| Name | Signature | Description |
|---|---|---|
type | type: 'selection.selectCells'; | |
cells | cells: CellKey[]; | |
modeoptional | mode?: 'replace' | 'add' | 'toggle'; |