table_getPreSelectedRowModel

Function: table_getPreSelectedRowModel()

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

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

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

ts
const rowsBeforeSelection = table_getPreSelectedRowModel(table)