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_getIsSelected

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

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

Checks whether this cell falls inside the final positive selection.

Deliberately not memoized. Registering this through assignPrototypeAPIs with memoDeps would allocate a memo closure and dependency array per cell, which costs more than the handful of integer comparisons it would save.

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 isSelected = cell_getIsSelected(cell)
const isSelected = cell_getIsSelected(cell)