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

row_getIsSelected

ts
function row_getIsSelected<TFeatures, TData>(row): boolean;
function row_getIsSelected<TFeatures, TData>(row): boolean;

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

Checks whether this row id is selected in state.rowSelection.

Missing row ids are treated as not selected.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

boolean

Example

ts
const selected = row_getIsSelected(row)
const selected = row_getIsSelected(row)