tanstack-table

Implement controlled React datagrids with TanStack Table row models.

3|Updated May 11, 2026
One-click install
npx skills add https://github.com/JeromyJSmith/lattice-platform --skill tanstack-table-jeromyjsmith
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tanstack-table
Source: https://github.com/JeromyJSmith/lattice-platform/tree/main/.agents/skills/skills/tanstack-table
Command: npx skills add https://github.com/JeromyJSmith/lattice-platform --skill tanstack-table-jeromyjsmith

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TanStack Table solves the problem of building feature-rich, performant data tables without rewriting core logic for sorting, filtering, pagination, grouping, expansion, and selection.

Core Features & Use Cases

  • Headless table state & models: Use TanStack Table to manage data processing pipelines (filter -> sort -> group -> paginate) while keeping rendering fully up to you.
  • Type-safe column definitions: Define columns with @tanstack/react-table using createColumnHelper to reduce mistakes and improve maintainability.
  • Advanced UI behaviors: Support column visibility, pinning, resizing, grouping & aggregation, row expansion, row selection, and (optionally) virtualization integration.

Quick Start

Use the tanstack-table skill to implement a controlled React table with stable data and columns using useReactTable, getCoreRowModel, and the row-model functions for the features you need.

Frequently Asked Questions about tanstack-table

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a React datagrid with sorting, filtering, and pagination?

To build a React datagrid with sorting, filtering, and pagination, use TanStack Table to manage data processing pipelines while retaining full control over rendering. It provides headless table logic, allowing you to implement interactive features without rewriting core state management.

What is headless table logic and why use it for React data tables?

Headless table logic separates data processing from UI rendering, giving you full control over your datagrid's appearance. This approach lets you implement sorting, filtering, and pagination pipelines in TypeScript without being locked into a predefined UI component structure.

Can I implement server-side pagination and manual sorting in a TypeScript datagrid?

Yes, you can implement server-side pagination and manual sorting in a TypeScript datagrid using server-mode flags like manualSorting and manualPagination. This allows controlled state handlers to manage data fetching externally while maintaining stable row-model composition.

Does TanStack Table support row virtualization for large datasets?

Yes, TanStack Table supports optional virtualization integration to handle large datasets efficiently. This feature ensures performant rendering within your React datagrid by limiting the number of DOM nodes actively rendered at any given time.

How do I create type-safe column definitions for a React data table?

You create type-safe column definitions for a React data table using the createColumnHelper utility. This reduces development mistakes and improves maintainability by enforcing strict TypeScript typing across your datagrid's column structure.

What advanced UI behaviors does this headless table approach support?

This headless table approach supports advanced UI behaviors including column visibility, pinning, resizing, grouping, aggregation, row expansion, and row selection. These features integrate seamlessly into your React data processing pipeline.