TanStack

table_getCellSelectionRowIds

Function: table_getCellSelectionRowIds()

ts
function table_getCellSelectionRowIds<TFeatures, TData>(table): string[];

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

Returns the ids of all rows intersected by the selection.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

string[]

Example

ts
const rowIds = table_getCellSelectionRowIds(table)