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

table_getIsAllRowsExpanded

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

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

Checks whether every expandable row in the current row model is expanded.

The special expanded-all value true returns true immediately. Empty expanded state returns false. Rows that cannot expand are ignored, so a materialized expanded-all map (which only contains expandable row ids) still counts as all rows expanded.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

boolean

Example

ts
const allExpanded = table_getIsAllRowsExpanded(table)
const allExpanded = table_getIsAllRowsExpanded(table)