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_getCanNextPage

Function: table_getCanNextPage()

ts
function table_getCanNextPage<TFeatures, TData>(table): boolean;
function table_getCanNextPage<TFeatures, TData>(table): boolean;

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

Checks whether the current page index can move forward.

A pageCount of -1 means the caller does not know the total page count, so this returns true. A page count of 0 returns false.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

boolean

Example

ts
const canGoForward = table_getCanNextPage(table)
const canGoForward = table_getCanNextPage(table)