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

row_getCanSelectSubRows

Function: row_getCanSelectSubRows()

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

Defined in: features/row-selection/rowSelectionFeature.utils.ts:536

Checks whether selecting this row should also select its subRows.

options.enableSubRowSelection may be a boolean or a row predicate; it defaults to true.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

boolean

Example

ts
const canSelectChildren = row_getCanSelectSubRows(row)
const canSelectChildren = row_getCanSelectSubRows(row)