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_getIsFocused

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

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

Checks whether this cell is the active cell.

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 isFocused = cell_getIsFocused(cell)
const isFocused = cell_getIsFocused(cell)