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

isRowSelected

Function: isRowSelected()

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

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

Returns whether a row id is selected in the current row selection state.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

boolean

Example

ts
const selected = isRowSelected(row)
const selected = isRowSelected(row)