Skip to main content

table_getCanNextPage

还没翻译译自英文(tanstack.com)本页 15 段都还没译

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

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

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

const canGoForward = table_getCanNextPage(table)