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

row_getIsSelected

Function: 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:461

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)