Skip to main content

table_selectCellRange

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

function table_selectCellRange<TFeatures, TData>(
   table,
   range,
   opts?): void;

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

Selects a rectangle using replace, include, or exclude semantics.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

range

CellSelectionRange

opts?

SelectCellRangeOptions

Returns

void

Example

table_selectCellRange(table, range, { mode: 'exclude' })