Row API Reference

expandRows

Function: expandRows()

ts
function expandRows<TFeatures, TData>(rowModel): RowModel<TFeatures, TData>;

Defined in: features/row-expanding/createExpandedRowModel.ts:61

Expands a row model according to the current expanded row state.

Expanded sub-rows are inserted into the flattened row order while preserving the original row hierarchy.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData = any

Parameters

rowModel

RowModel\<`TFeatures`, `TData`\>

Returns

RowModel\<`TFeatures`, `TData`\>