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

table_getCenterLeafHeaders

Function: table_getCenterLeafHeaders()

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

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

Collects leaf headers for the center, unpinned region.

Parent headers are filtered out from the center flat header list.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

any[]

Example

ts
const headers = table_getCenterLeafHeaders(table)
const headers = table_getCenterLeafHeaders(table)