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

Function: table_getIsSomeColumnsPinned()

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

Defined in: features/column-pinning/columnPinningFeature.utils.ts:337

Checks whether any columns are pinned.

Omit position to check both sides, or pass 'left'/'right' to inspect a single pinning region.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

position?

ColumnPinningPosition

Returns

boolean

Example

ts
const hasPinnedColumns = table_getIsSomeColumnsPinned(table)
const hasPinnedColumns = table_getIsSomeColumnsPinned(table)