TanStack Table
Reusable data and expandable tables on TanStack Table v8: sorting, search, selection, column visibility, pagination, detail panels and nested tables.
Skills
Preview
Data table
Search, sort any column, select rows, hide columns, paginate.
| ORD-1040 | Aarav Sharmaaarav.sharma@example.com | Paid | Sep 30 | $24.00 | |
| ORD-1041 | Amara Okaforamara.okafor@example.com | Paid | Sep 17 | $863.37 | |
| ORD-1042 | Ingrid Larseningrid.larsen@example.com | Paid | Sep 4 | $522.74 | |
| ORD-1043 | Kenji Tanakakenji.tanaka@example.com | Pending | Aug 22 | $181.11 | |
| ORD-1044 | Mateo Silvamateo.silva@example.com | Failed | Aug 9 | $1,020.48 |
Page 1 of 10
Expandable: detail panel
Each row opens a custom panel via renderSubComponent. One open at a time.
| Expand | ||||
|---|---|---|---|---|
| Northwind | Starter | 3 | $27.00 | |
| Lumen Labs | Pro | 15 | $270.00 | |
| Brightpath | Pro | 18 | $324.00 | |
| Copperleaf | Enterprise | 107 | $3,424.00 | |
| Halcyon | Starter | 3 | $27.00 |
Page 1 of 3
Expandable: nested table
Rows open a sub-table of their line items via subColumns + getSubRows.
| Expand | ||||
|---|---|---|---|---|
| SHP-5300 | Kathmandu, NP | In transit | 1 | |
| SHP-5307 | Lisbon, PT | Delayed | 8 | |
| SHP-5314 | Nairobi, KE | Delivered | 12 | |
| SHP-5321 | Oslo, NO | Delivered | 22 | |
| SHP-5328 | Austin, US | Processing | 3 |
Page 1 of 4