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

row_getIsPinned

ts
function row_getIsPinned<TFeatures, TData>(row): RowPinningPosition;
function row_getIsPinned<TFeatures, TData>(row): RowPinningPosition;

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

Reads this row's current pinning region.

Rows listed in state.rowPinning.top return 'top', rows listed in bottom return 'bottom', and unpinned rows return false.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

RowPinningPosition

Example

ts
const position = row_getIsPinned(row)
const position = row_getIsPinned(row)