Docs
CodeRabbit
Cloudflare
Railway
Netlify
Clerk
SerpAPI
OpenRouter
AG Grid
WorkOS
Electric
Prisma
Unkey
Sentry
CodeRabbit
Cloudflare
Railway
Netlify
Clerk
SerpAPI
OpenRouter
AG Grid
WorkOS
Electric
Prisma
Unkey
Sentry
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Static Functions API Reference
Legacy API Reference
Static Functions API Reference

table_getFilteredSelectedRowModel

Function: table_getFilteredSelectedRowModel()

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

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

Builds a row model containing selected rows from the filtered 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_getFilteredSelectedRowModel(table)
const selectedRows = table_getFilteredSelectedRowModel(table)