table_getPreSelectedRowModel
function table_getPreSelectedRowModel<TFeatures, TData>(table): RowModel<TFeatures, TData>;Defined in: features/row-selection/rowSelectionFeature.utils.ts:220
Reads the row model before row selection is projected into selected rows.
Selection does not alter the base row pipeline, so this returns the core row model.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
Returns
RowModel<TFeatures, TData>
Example
const rowsBeforeSelection = table_getPreSelectedRowModel(table)