Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
Neon
WorkOS
Clerk
Convex
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
Legacy API Reference
Enterprise
Table API Reference

flexRender

Function: flexRender()

ts
function flexRender<TProps>(Comp, props): ReactNode | Element;

Defined in: FlexRender.tsx:45

If rendering headers, cells, or footers with custom markup, use flexRender instead of cell.getValue() or cell.renderValue().

Type Parameters

TProps

TProps extends object

Parameters

Comp

Renderable<TProps>

props

TProps

Returns

ReactNode | Element

Example

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