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

Function: 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:235

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)