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

row_getIsAllParentsExpanded

Function: row_getIsAllParentsExpanded()

ts
function row_getIsAllParentsExpanded<TFeatures, TData>(row): boolean;
function row_getIsAllParentsExpanded<TFeatures, TData>(row): boolean;

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

Checks whether every ancestor of this row is expanded.

The current row is not considered; only its parent chain is walked.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

boolean

Example

ts
const parentsExpanded = row_getIsAllParentsExpanded(row)
const parentsExpanded = row_getIsAllParentsExpanded(row)