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_getMaxSubRowDepth

ts
function table_getMaxSubRowDepth<TFeatures, TData>(table): number;
function table_getMaxSubRowDepth<TFeatures, TData>(table): number;

Defined in: core/rows/coreRowsFeature.utils.ts:159

Returns the deepest structural row depth in the core row model. Root rows are depth 0, their direct sub-rows are depth 1, and so on.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

number