Skip to content

@revolist/revogrid / SelectionStoreState

Type Alias: SelectionStoreState

ts
type SelectionStoreState: {
  edit: EditCellStore | null;
  focus: Cell | null;
  lastCell: Cell | null;
  nextFocus: Cell | null;
  range: RangeArea | null;
  tempRange: RangeArea | null;
  tempRangeType: string | null;
};

Represents the state of the selection store. It contains information about the selection range, temporary range, focused cell, editing cell, last focused cell, and next cell to focus.

Type declaration

NameTypeDescriptionDefined in
editEditCellStore | nullEditing cell storesrc/types/selection.ts:36
focusCell | nullFocused cell coordinatesrc/types/selection.ts:32
lastCellCell | nullLast cell which was focusedsrc/types/selection.ts:40
nextFocusCell | nullNext cell to focussrc/types/selection.ts:44
rangeRangeArea | null-src/types/selection.ts:20
tempRangeRangeArea | nullTemporary range selection areasrc/types/selection.ts:24
tempRangeTypestring | nullType of the temporary range selectionsrc/types/selection.ts:28

Defined in

src/types/selection.ts:19

Revogrid is a MIT-licensed open source library made by Revolist OU.