Defined in: features/row-pagination/rowPaginationFeature.types.ts:42
TFeatures extends TableFeatures
TData extends RowData
_autoResetPageIndex: () => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:46
void
firstPage: () => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:78
Sets the page index to 0.
void
getCanNextPage: () => boolean;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:50
Returns whether the table can go to the next page.
boolean
getCanPreviousPage: () => boolean;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:54
Returns whether the table can go to the previous page.
boolean
getPageCount: () => number;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:58
Returns the page count. If manually paginating or controlling the pagination state, this will come directly from the options.pageCount table option, otherwise it will be calculated from the table data using the total row count and current page size.
number
getPageOptions: () => number[];
Defined in: features/row-pagination/rowPaginationFeature.types.ts:66
Returns an array of page options (zero-index-based) for the current page size.
number[]
getRowCount: () => number;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:62
Returns the row count. If manually paginating or controlling the pagination state, this will come directly from the options.rowCount table option, otherwise it will be calculated from the table data.
number
lastPage: () => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:82
Sets the page index to the last page.
void
nextPage: () => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:70
Increments the page index by one, if possible.
void
previousPage: () => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:74
Decrements the page index by one, if possible.
void
resetPageIndex: (defaultState?) => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:86
Resets the page index to its initial state. If defaultState is true, the page index will be reset to 0 regardless of initial state.
boolean
void
resetPageSize: (defaultState?) => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:90
Resets the page size to its initial state. If defaultState is true, the page size will be reset to 10 regardless of initial state.
boolean
void
resetPagination: (defaultState?) => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:94
Resets the pagination state to initialState.pagination, or true can be passed to force a default blank state reset to [].
boolean
void
setPageIndex: (updater) => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:98
Updates the page index using the provided function or value in the state.pagination.pageIndex state.
Updater<number>
void
setPageSize: (updater) => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:102
Updates the page size using the provided function or value in the state.pagination.pageSize state.
Updater<number>
void
setPagination: (updater) => void;
Defined in: features/row-pagination/rowPaginationFeature.types.ts:106
Sets or updates the state.pagination state.
void