---
name: "tanstack-table-v8-virtualized"
description: "Render 100,000+ row data tables with sorting, filtering, and row virtualization at 60 FPS."
metadata:
  author: "TanStack"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "create tanstack table v8"
  - "virtualize table rows react"
  - "column pinning tanstack table"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# TanStack Table v8 Virtualized Data Grids

Builds data grids with TanStack Table v8: defining ColumnDefs with custom cell renderers, sorting, global filtering, column pinning, and integrating with @tanstack/react-virtual for DOM virtualization.

## When to Invoke
Invoke this skill whenever you need to:
- create tanstack table v8
- virtualize table rows react
- column pinning tanstack table

## Execution SOP & Rules
1. Initialize table instance: const table = useReactTable({ data, columns, getCoreRowModel: getCoreRowModel() }).
2. Attach row virtualizer: const rowVirtualizer = useVirtualizer({ count: rows.length, getScrollElement, estimateSize: () => 48 }).
3. Render only virtual items: rowVirtualizer.getVirtualItems().map(virtualRow => ...) with transform translateY.
4. Set fixed cell heights to eliminate layout shifting during high-speed vertical scrolling.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
