Docs
Cloudflare
CodeRabbit
Railway
SerpAPI
Netlify
OpenRouter
AG Grid
WorkOS
Clerk
Sentry
Prisma
Electric
Unkey
Cloudflare
CodeRabbit
Railway
SerpAPI
Netlify
OpenRouter
AG Grid
WorkOS
Clerk
Sentry
Prisma
Electric
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_getCanPin

Function: row_getCanPin()

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

Defined in: features/row-pinning/rowPinningFeature.utils.ts:213

Checks whether this row can be pinned.

options.enableRowPinning 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 canPin = row_getCanPin(row)
const canPin = row_getCanPin(row)