0
Fork 0
mirror of https://github.com/TanStack/table.git synced 2026-11-18 18:55:54 +00:00
table/docs/framework/react/reference/index/functions/flexRender.md
Kevin Van Cott 09598d2e41
feat: support infinite pagination page sizes (#6526)
* feat: support infinite pagination page sizes

* add devtools to all with-tanstack examples

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-07 13:11:04 -05:00

694 B

id title
flexRender flexRender

Function: flexRender()

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

Defined in: react-table/src/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

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