Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Static Functions API Reference
Table API Reference

flexRender

Function: flexRender()

ts
function flexRender<TProps>(Comp, props): Element;
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

tsx
flexRender(cell.column.columnDef.cell, cell.getContext())
flexRender(cell.column.columnDef.cell, cell.getContext())