software · Q158
TanStack Table
Headless TypeScript table logic with framework adapters and application-owned rendering.
Overview
TanStack Table provides table state and data-processing logic without prescribing a rendered table component. Developers connect its row and column models to their own interface. It is useful for applications that need sorting, filtering and pagination while retaining control of the design system and markup.[1]
Application-owned presentation
A table implementation combines column definitions, data and enabled features, then renders the resulting model. This is a building block rather than a spreadsheet application or a visual table designer. The TypeScript core has adapters for several UI frameworks. Its headless design gives an application control over CSS and markup; it also means generated code must supply the controls and event wiring rather than expecting installation alone to produce a finished grid.[1]
Version-sensitive integration
The inspected latest documentation describes v9. React examples now use useTable instead of useReactTable and explicitly register optional features and row-model factories. The package is ESM-only, targets ES2022 and no longer provides CommonJS or UMD builds. These changes make older snippets a migration input rather than reliable copy-and-paste instructions. A deprecated useLegacyTable entry point preserves a v8-style approach temporarily, but includes all features and therefore changes the bundle tradeoff. Applications should match examples to their installed version before adding generated extensions.[2]
Data fetching and pagination
With manualPagination enabled, the library treats supplied rows as a page already prepared by the application. The backend must provide a rowCount or pageCount for known totals. An unknown page count cannot establish that the next page exists; cursor-based applications need their own has-next-page signal. TanStack Query can manage requests while Table controls pagination state. Filtering and sorting must be coordinated with the same backend pagination strategy, rather than treating the currently loaded page as the complete dataset.[3]
Rendering is distinct from loading
Virtualization reduces the number of mounted rows, not the amount of underlying data held by the browser. TanStack Virtual is a separate integration option. It can accompany pagination but cannot by itself make an oversized complete dataset suitable for client-side processing. This distinction matters when an apparently smooth generated table still transfers or stores far more data than the interface displays.[3]
License and reuse
The core repository uses the MIT license. It permits modification and redistribution, including commercial use, with its notice conditions. The license does not supply a hosted backend or a warranty for an application's data-handling implementation.[4]
Substitution considerations
Compared with AG Grid Community, TanStack Table is a candidate when the project wants to own the visual component and use reusable table logic underneath it. AG Grid supplies a rendered grid with its own component and feature configuration. Switching requires rebuilding that integration rather than translating a package name. This comparison is an assessment of the documented architectures; no hands-on migration or performance comparison was performed.[1][5]
Capabilities & limitations
Headless table composition
supportedProvides models and state; application supplies rendering and interaction wiring.[1]
Building application data tables with custom presentation and client- or server-managed data · Web, JavaScript, TypeScript, React, Vue, Svelte, Angular · Version, build and integration requirements apply
1 source · check evidence
Headless UI, framework adapters and feature composition
vendor · checked 2026-10-07Server pagination
limitedManual mode expects already paginated rows; backend totals and requests remain application responsibilities.[3]
Building application data tables with custom presentation and client- or server-managed data · Web, JavaScript, TypeScript, React, Vue, Svelte, Angular · Version, build and integration requirements apply
1 source · check evidence
Manual server pagination, row count and virtualization
vendor · checked 2026-10-07v8 source compatibility
limitedv9 changes APIs and packaging; a deprecated legacy adapter assists migration but includes all features.[2]
Building application data tables with custom presentation and client- or server-managed data · Web, JavaScript, TypeScript, React, Vue, Svelte, Angular · Version, build and integration requirements apply
1 source · check evidence
Features registry, useTable, ESM and legacy adapter
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
AG Grid Community for Building application data tables with custom presentation and client- or server-managed data
limitedCan replace Community table logic when custom rendering is desired; does not supply AG Grid's finished grid UI or matching APIs.[1][5]
Web, JavaScript, TypeScript, React, Vue, Svelte, Angular · Version, build and integration requirements apply
References
- TanStack Table overview
Headless UI, framework adapters and feature composition
vendor · retrieved 2026-10-07 - Migrating TanStack Table to v9
Features registry, useTable, ESM and legacy adapter
vendor · retrieved 2026-10-07 - TanStack Table pagination
Manual server pagination, row count and virtualization
vendor · retrieved 2026-10-07 - TanStack Table MIT license
MIT grant and notice requirement
vendor · retrieved 2026-10-07 - AG Grid Community and Enterprise
Rendered grid and edition feature boundaries
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 142 | 2026-10-10 10:24:09 | /* wbeditentity-create-item:0| */ sf:1a721746-bcb2-4db5-b54b-da55d10e12f3:v1 | Add headless table article with v9 migration, manual pagination and qualified AG Grid comparison; documentation research, not a tested migration. | attribution: /proposals/1a721746-bcb2-4db5-b54b-da55d10e12f3 |