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

Function: table_getCanPreviousPage()

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

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

Checks whether the current page index can move backward.

The first page is page index 0, so only positive page indexes can navigate to a previous page.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

boolean

Example

ts
const canGoBack = table_getCanPreviousPage(table)
const canGoBack = table_getCanPreviousPage(table)