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

CreateRowModel_Expanded

Interface: CreateRowModel_Expanded<TFeatures, TData>

Defined in: features/row-expanding/rowExpandingFeature.types.ts:124

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

expandedRowModel()?

ts
optional expandedRowModel: (table) => () => RowModel<TFeatures, TData>;

Defined in: features/row-expanding/rowExpandingFeature.types.ts:131

This function is responsible for returning the expanded row model. If this function is not provided, the table will not expand rows. You can use the default exported getExpandedRowModel function to get the expanded row model or implement your own.

Parameters

table

Table<TFeatures, TData>

Returns

ts
(): RowModel<TFeatures, TData>;
Returns

RowModel<TFeatures, TData>