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