Catalogue / tanstack-solid-table-getting-started
tanstack-solid-table-getting-started
MITSignedCreate and render Table v9 with the solid adapter. Route reusable createTableHook components, Query and Virtual integration, and framework setup; use table-state for reactive ownership.--- name: tanstack-solid-table-getting-started description: "Create and render Table v9 with the solid adapter. Route reusable createTableHook components, Query and Virtual integration, and framework setup; use table-state for reactive ownership." license: "MIT" metadata: internal: true tanstack-framework: "solid" tanstack-library: "@tanstack/solid-table" tanstack-library-version: "9.3.1" tanstack-package: "@tanstack/solid-table" tanstack-package-version: "9.3.1" tanstack-requires: "[\"tanstack-table-core\"]" tanstack-source-skill: "getting-started" tanstack-sources: "[\"TanStack/table:docs/framework/solid/guide/migrating.md\",\"TanStack/table:examples/solid/basic-use-table\",\"TanStack/table:packages/solid-table/src/index.tsx\",\"TanStack/table:docs/framework/solid/guide/composable-tables.md\",\"TanStack/table:examples/solid/composable-tables\",\"TanStack/table:packages/solid-table/src/createTableHook.tsx\",\"TanStack/table:examples/solid/with-tanstack-query\",\"TanStack/table:docs/framework/solid/guide/pagination.md\",\"TanStack/table:docs/framework/solid/guide/virtualization.md\",\"TanStack/table:examples/solid/virtualized-rows\",\"TanStack/table:examples/solid/virtualized-columns\",\"TanStack/table:examples/solid/virtualized-infinite-scrolling\"]" tanstack-type: "framework" ---
Solid Table setup and integration
Before starting, run intent load @tanstack/table-core#core for the shared headless model and stable-input rules.
Setup
import { For, createSignal } from 'solid-js'
import {
createColumnHelper,
createTable,
tableFeatures,
} from '@tanstack/solid-table'
type Person = { name: string }
const features = tableFeatures({})
const helper = createColumnHelper<typeof features, Person>()
const columns = helper.columns([helper.accessor('name', { header: 'Name' })])
export function PeopleTable() {
const [data] = createSignal<Person[]>([{ name: 'Ada' }])
const table = createTable({
features,
columns,
get data() {
return data()
},
})
return (
<table>
<thead>
<For each={table.getHeaderGroups()}>
{(group) => (
<tr>
<For each={group.headers}>
{(header) => (
<th>
<table.FlexRender header={header} />
</th>
)}
</For>
</tr>
)}
</For>
</thead>
<tbody>
<For each={table.getRowModel().rows}>
{(row) => (
<tr>
<For each={row.getAllCells()}>
{(cell) => (
<td>
<table.FlexRender cell={cell} />
</td>
)}
</For>
</tr>
)}
</For>
</tbody>
</table>
)
}Essential constraints
Use createTable in a Solid owner. Preserve changing data with get data() { return data() }; data: data() captures a snapshot. Keep features and columns stable and derive transformed arrays with createMemo.
Table owns models and state. The application owns markup, CSS, interactions, and accessibility. Core-only tables use row.getAllCells(); visibility-aware methods need columnVisibilityFeature. Optional state and APIs require their features. Put row-model slots after their prerequisite features in tableFeatures().
Load by task
- For repeated features, defaults, typed contexts, or component registries, read reusable app hooks.
- For Query-backed data, server pages, sorting, filtering, or request keys, read TanStack Query integration.
- For virtual rows, columns, dynamic measurement, or infinite scrolling, read TanStack Virtual integration.
- For controlled state, tracked reads, or render subscriptions, read table state.
- For feature registration, missing feature APIs, or processing ownership, run
intent load @tanstack/table-core#table-featuresand read only references needed by the task. - For v8 code, read the migration checklist.
API discovery
Inspect node_modules/@tanstack/solid-table/dist/index.d.ts, then the exported adapter declarations for the installed version. Inspect optional core APIs under node_modules/@tanstack/table-core/dist/features/.
| File | Size | SHA-256 |
|---|---|---|
| LICENSE | 1.1 kB | 9db3f8ddd703 |
| SKILL.md | 4.5 kB | 6008f139a432 |
| SKILVAULT_SOURCE.json | 1.7 kB | 0eab353338b0 |
| THIRD_PARTY_NOTICES.md | 2.1 kB | 51046d4e149c |
| references/INTENT-SKILL-MAP.md | 323 B | 94d7f91cc45e |
| references/create-table-hook.md | 2.5 kB | 1564f5bda6e4 |
| references/with-tanstack-query.md | 3.3 kB | 16b835b0b9bb |
| references/with-tanstack-virtual.md | 3.6 kB | b303c2fe7fec |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 94e076216009 | 29 Nov 2026 |
Locking a skill to one version needs Pro.