table_getGroupedSelectedRowModel

Function: table_getGroupedSelectedRowModel()

ts
function table_getGroupedSelectedRowModel<TFeatures, TData>(table): RowModel<TFeatures, TData>;

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

Builds a row model containing selected rows from the grouped row model.

If no row ids are selected, an empty row model is returned without walking the rows.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal\<`TFeatures`, `TData`\>

Returns

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

Example

ts
const selectedRows = table_getGroupedSelectedRowModel(table)