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

Function: table_getPinnedLeafColumns()

ts
function table_getPinnedLeafColumns<TFeatures, TData>(table, position): any[];
function table_getPinnedLeafColumns<TFeatures, TData>(table, position): any[];

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

Resolves leaf columns for a requested pinning region.

Pass 'left', 'center', or 'right' for a partition, or pass false to read all leaf columns without partitioning.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

position

ColumnPinningPosition | "center"

Returns

any[]

Example

ts
const columns = table_getPinnedLeafColumns(table, 'center')
const columns = table_getPinnedLeafColumns(table, 'center')