Skip to main content

table_extendCellSelection

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

function table_extendCellSelection<TFeatures, TData>(table, direction): void;

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

Extends the active range one step in a direction, keeping its anchor fixed.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

direction

CellSelectionDirection

Returns

void

Example

table_extendCellSelection(table, 'right')