API reference: @salmonui/data-grid/engine
SerializedSelectiontype
import type { SerializedSelection } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid, @salmonui/data-grid/engine/selection.
type SerializedSelection = {
readonly scope: 'explicit' | 'allFiltered';
readonly rowIds: readonly RowId[];
readonly excludedRowIds: readonly RowId[];
readonly anchorRowId: RowId | null;
readonly cellRanges: readonly CellRange[];
readonly columnIds: readonly ColumnId[];
};
JSON form (getState/restore, persistence, server-side select-all).
| Name | Signature | Description |
|---|---|---|
scope | readonly scope: 'explicit' | 'allFiltered'; | |
rowIds | readonly rowIds: readonly RowId[]; |
|
excludedRowIds | readonly excludedRowIds: readonly RowId[]; |
|
anchorRowId | readonly anchorRowId: RowId | null; | |
cellRanges | readonly cellRanges: readonly CellRange[]; | |
columnIds | readonly columnIds: readonly ColumnId[]; |