Docs
CodeRabbit
Cloudflare
Railway
OpenRouter
Netlify
SerpAPI
Clerk
WorkOS
AG Grid
Electric
Sentry
Prisma
Unkey
CodeRabbit
Cloudflare
Railway
OpenRouter
Netlify
SerpAPI
Clerk
WorkOS
AG Grid
Electric
Sentry
Prisma
Unkey
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
Legacy API Reference

getExpandedRowModel

Function: getExpandedRowModel()

ts
function getExpandedRowModel<TData>(): RowModelFactory<TData>;
function getExpandedRowModel<TData>(): RowModelFactory<TData>;

Defined in: useLegacyTable.ts:89

Type Parameters

TData

TData extends RowData

Returns

RowModelFactory<TData>

Deprecated

Use createExpandedRowModel() with the new useTable hook instead.

This is a stub function for v8 API compatibility with useLegacyTable. It acts as a marker to enable the expanded row model.