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

cell_getCanSelect

ts
function cell_getCanSelect<TFeatures, TData, TValue>(cell): boolean;
function cell_getCanSelect<TFeatures, TData, TValue>(cell): boolean;

Defined in: features/cell-selection/cellSelectionFeature.utils.ts:483

Checks whether this cell can currently be selected.

A column def opting out with enableCellSelection: false wins over the table option, matching how the other per-column enable flags resolve.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends unknown = unknown

Parameters

cell

Cell<TFeatures, TData, TValue>

Returns

boolean

Example

ts
const canSelect = cell_getCanSelect(cell)
const canSelect = cell_getCanSelect(cell)