What problem does it solve?
Provides a headless, framework-agnostic set of table primitives that remove the boilerplate of building performant, feature-rich data tables and datagrids while keeping rendering and styling entirely under the application developer's control.
Core Features & Use Cases
- Sorting, filtering, and pagination: Compose client-side or server-side row models to support complex sorting and filtering workflows.
- Grouping, aggregation, and row expansion: Build hierarchical views, aggregated summaries, and expandable detail rows for nested datasets.
- Column features: Pinning, ordering, visibility toggles, resizing, and custom rendering for flexible column behaviors.
- Virtualization integration: Efficiently render large lists with virtual scrolling and dynamic row sizing.
- TypeScript-first patterns: Safe column definitions, module augmentation for custom filter/sort functions, and table meta for shared behaviors.
- Use Case: Implement a sortable, filterable, virtualized React table with server-side pagination and custom aggregation for a reporting dashboard.
Quick Start
Create a React table using @tanstack/react-table with memoized columns and data, enable the required row models for sorting, filtering, and pagination, and integrate a virtualizer for large datasets.