本页还没有译文
本页 15 段还没译成Tiếng Việt,下面显示的是英文原文。table_getPageCount
还没翻译译自英文(tanstack.com)本页 15 段都还没译
function table_getPageCount<TFeatures, TData>(table): number;Defined in: features/row-pagination/rowPaginationFeature.utils.ts:401
Resolves the number of pages for the current pagination state.
options.pageCount wins for manual pagination. Otherwise the value is
calculated from table_getRowCount(table) and the current pageSize.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
Returns
number
Example
const pages = table_getPageCount(table)AI 翻译查看英文原文