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

ColumnDefTemplate

Type Alias: ColumnDefTemplate<TProps>

ts
type ColumnDefTemplate<TProps> = string | (props) => any;
type ColumnDefTemplate<TProps> = string | (props) => any;

Defined in: types/ColumnDef.ts:47

A renderable column template value.

Strings render directly; functions receive the relevant cell/header context and can return framework-specific render output.

Type Parameters

TProps

TProps extends object