TanStack

row_getDisplayIndex

Function: row_getDisplayIndex()

ts
function row_getDisplayIndex<TFeatures, TData>(row): number;

Defined in: core/rows/coreRowsFeature.utils.ts:14

Returns this row's zero-based position in the current pre-pagination row model. Rows outside that model return -1.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

number