table_getCanPreviousPage
function table_getCanPreviousPage<TFeatures, TData>(table): boolean;Defined in: features/row-pagination/rowPaginationFeature.utils.ts:251
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
const canGoBack = table_getCanPreviousPage(table)