Skip to main content

getDefaultCellSelectionState

function getDefaultCellSelectionState(): CellSelectionState;

Defined in: features/cell-selection/cellSelectionFeature.utils.ts:45

Creates the default cell selection state.

The feature default is an empty selection. Reset APIs use this value when defaultState is true.

Returns

CellSelectionState

Example

const selection = getDefaultCellSelectionState()