View as Markdown

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';
};
SelectionSetCellRangeCommand members (4)
NameSignatureDescription
typetype: 'selection.setCellRange';
anchoranchor: CellKey;
focusfocus: CellKey;
modeoptionalmode?: 'replace' | 'add';