Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Static Functions API Reference
Legacy API Reference
Static Functions API Reference

table_autoResetPageIndex

Function: table_autoResetPageIndex()

ts
function table_autoResetPageIndex<TFeatures, TData>(table): void;
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)
table_autoResetPageIndex(table)