Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
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_getIsSomeRowsSelected

Function: table_getIsSomeRowsSelected()

ts
function table_getIsSomeRowsSelected<TFeatures, TData>(table): boolean;
function table_getIsSomeRowsSelected<TFeatures, TData>(table): boolean;

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

Checks whether selection is partially applied across filtered rows.

The result is true when at least one row id is selected but fewer ids are selected than the current filtered flat row count.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

boolean

Example

ts
const someRowsSelected = table_getIsSomeRowsSelected(table)
const someRowsSelected = table_getIsSomeRowsSelected(table)