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

isRowSelected

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

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

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>

rowSelection

RowSelectionState

Returns

boolean

Example

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