row_getCanSelectSubRows

Function: row_getCanSelectSubRows()

ts
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)