mirror of
https://github.com/TanStack/table.git
synced 2026-11-18 18:55:54 +00:00
711 B
711 B
| id | title |
|---|---|
| flexRender | flexRender |
Function: flexRender()
function flexRender<TProps>(Comp, props): Element;
Defined in: FlexRender.tsx:23
Renders a Solid table template value with the provided context props.
Use this for custom header, cell, or footer renderers when you need the
lower-level function form. Most Solid UIs can use the FlexRender component
instead.
Type Parameters
TProps
TProps
Parameters
Comp
Element | (_props) => Element
props
TProps
Returns
Element
Example
flexRender(cell.column.columnDef.cell, cell.getContext())