Skip to main content

getDefaultCellSelectionState

还没翻译译自英文(tanstack.com)本页 7 段都还没译

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()