selectRowsFn
function selectRowsFn<TFeatures, TData>(rowModel, table): RowModel<TFeatures, TData>;Defined in: features/row-selection/rowSelectionFeature.utils.ts:965
Builds a row model containing rows selected by the current row selection state.
The result is derived from the supplied row model, so selected ids absent from that model are not materialized as rows.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
rowModel
RowModel<TFeatures, TData>
table
Table_Internal<TFeatures, TData>
Returns
RowModel<TFeatures, TData>
Example
const selectedRows = selectRowsFn(rowModel)