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

Function: table_getCenterTotalSize()

ts
function table_getCenterTotalSize<TFeatures, TData>(table): any;
function table_getCenterTotalSize<TFeatures, TData>(table): any;

Defined in: features/column-sizing/columnSizingFeature.utils.ts:343

Sums the rendered size of the center, unpinned header region.

An empty center region returns 0.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

any

Example

ts
const width = table_getCenterTotalSize(table)
const width = table_getCenterTotalSize(table)