mirror of
https://github.com/TanStack/table.git
synced 2026-11-18 18:55:54 +00:00
954 B
954 B
| id | title |
|---|---|
| createTable | createTable |
Function: createTable()
function createTable<TFeatures, TData>(tableOptions): SolidTable<TFeatures, TData>;
Defined in: createTable.ts:61
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. Use table.Subscribe to create atom-tracked render boundaries.
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,
},
)