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

row_getCanSelect

Function: row_getCanSelect()

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

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

Checks whether this row can be selected.

options.enableRowSelection may be a boolean or a row predicate; it defaults to true.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

boolean

Example

ts
const canSelect = row_getCanSelect(row)
const canSelect = row_getCanSelect(row)