mirror of
https://github.com/TanStack/table.git
synced 2026-11-18 18:55:54 +00:00
977 B
977 B
| id | title |
|---|---|
| createTable | createTable |
Function: createTable()
function createTable<TFeatures, TData>(tableOptions): SolidTable<TFeatures, TData>;
Defined in: createTable.ts:64
Creates a Solid table instance backed by Solid-aware TanStack Store atoms.
Table APIs and atom reads participate in Solid dependency tracking, so
computations that read a specific slice can update without invalidating
unrelated UI. Read table APIs or atoms inside JSX, createMemo, or
createEffect to track updates.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
tableOptions
TableOptions<TFeatures, TData>
Returns
SolidTable<TFeatures, TData>
Example
const table = createTable(
{
features,
columns,
data,
},
)