API reference: @salmonui/data-grid/engine
SelectionSetCellRangeCommandtype
import type { SelectionSetCellRangeCommand } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/selection.
type SelectionSetCellRangeCommand = {
type: 'selection.setCellRange';
anchor: CellKey;
focus: CellKey;
mode?: 'replace' | 'add';
};
| Name | Signature | Description |
|---|---|---|
type | type: 'selection.setCellRange'; | |
anchor | anchor: CellKey; | |
focus | focus: CellKey; | |
modeoptional | mode?: 'replace' | 'add'; |