Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
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

table_getCanLastPage

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

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

Checks whether a known, finite last page exists after the current page.

Unknown (-1), empty, and non-finite page counts do not have a navigable last page.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

boolean

Example

ts
const canGoToLastPage = table_getCanLastPage(table)
const canGoToLastPage = table_getCanLastPage(table)