TanStackOSS
    table
    fix(pagination): Reset auto page index to first page Auto page-index resets should return to the feature default first page when row-model-affecting state changes. Calling table_resetPageIndex without defaultState preserved initialState.pagination.pageIndex, which could leave the table on a stale non-zero page after filtering, sorting, grouping, or data updates. Constraint: resetPageIndex() without arguments intentionally restores initial state, so the fix is scoped to the automatic reset path only. Rejected: Change table_resetPageIndex default behavior | public reset API semantics depend on restoring initial state. Confidence: high Scope-risk: narrow Directive: Keep manual reset API behavior separate from automatic row-model reset behavior. Tested: pnpm vitest run packages/table-core/tests/unit/features/row-pagination/rowPaginationFeature.utils.test.ts Tested: pnpm nx run @tanstack/table-core:test:lib Not-tested: Full monorepo test:ci Related: TanStack/table#6207
    nx run-many --targets=build --exclude=examples/**
Succeeded
CI Pipeline Execution

nx run-many --targets=build --exclude=examples/**

Click to copy
Linux
4 CPU cores
read access token used
88e603e76411
6%

Cache hits

1 of 18 tasks used cache.

Get faster results

Learn how to enable distribution.

Atomizer enabled

18 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools