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

table_getIsSomeRowsPinned

Function: table_getIsSomeRowsPinned()

ts
function table_getIsSomeRowsPinned<TFeatures, TData>(table, position?): boolean;
function table_getIsSomeRowsPinned<TFeatures, TData>(table, position?): boolean;

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

Checks whether any rows are pinned.

Omit position to check both regions, or pass 'top'/'bottom' to inspect one region.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

position?

RowPinningPosition

Returns

boolean

Example

ts
const hasPinnedRows = table_getIsSomeRowsPinned(table)
const hasPinnedRows = table_getIsSomeRowsPinned(table)