API reference: @salmonui/data-grid/engine
SelectionSelectRangeCommandtype
import type { SelectionSelectRangeCommand } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/selection.
type SelectionSelectRangeCommand = {
type: 'selection.selectRange';
toId: RowId;
fromId?: RowId;
mode?: 'replace' | 'add';
};
Rows between fromId (default: the anchor) and toId in visible order.
| Name | Signature | Description |
|---|---|---|
type | type: 'selection.selectRange'; | |
toId | toId: RowId; | |
fromIdoptional | fromId?: RowId; | |
modeoptional | mode?: 'replace' | 'add'; |