0
Fork 0
mirror of https://github.com/TanStack/table.git synced 2026-11-18 18:55:54 +00:00
table/docs/framework/solid/reference/functions/flexRender.md
2026-05-10 14:43:09 -05:00

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())