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

table_getCanSomeRowsExpand

Function: table_getCanSomeRowsExpand()

ts
function table_getCanSomeRowsExpand<TFeatures, TData>(table): boolean;
function table_getCanSomeRowsExpand<TFeatures, TData>(table): boolean;

Defined in: features/row-expanding/rowExpandingFeature.utils.ts:125

Checks whether at least one pre-paginated row can expand.

Pagination is intentionally ignored so controls can reflect expandable rows that may not be on the current page.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

boolean

Example

ts
const canExpand = table_getCanSomeRowsExpand(table)
const canExpand = table_getCanSomeRowsExpand(table)