table_autoResetPageIndex

Function: table_autoResetPageIndex()

ts
function table_autoResetPageIndex<TFeatures, TData>(table): void;

Defined in: features/row-pagination/rowPaginationFeature.utils.ts:40

Resets the page index when a page-altering change should return to page 0.

The reset runs when autoResetAll, autoResetPageIndex, or the default client-side pagination behavior allows it. Manual pagination opts out unless the reset options explicitly opt back in.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

void

Example

ts
table_autoResetPageIndex(table)