本页还没有译文
本页 17 段还没译成日本語,下面显示的是英文原文。table_resetPagination
还没翻译译自英文(tanstack.com)本页 17 段都还没译
function table_resetPagination<TFeatures, TData>(table, defaultState?): void;Defined in: features/row-pagination/rowPaginationFeature.utils.ts:92
Resets pagination to the configured initial state or feature default.
With no argument, the reset clones table.initialState.pagination when it
exists. Passing true ignores initial state and resets to
{ pageIndex: 0, pageSize: 10 }.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
defaultState?
boolean
Returns
void
Example
table_resetPagination(table)
table_resetPagination(table, true)AI 翻译查看英文原文