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_getTotalSize

Function: table_getTotalSize()

ts
function table_getTotalSize<TFeatures, TData>(table): number;
function table_getTotalSize<TFeatures, TData>(table): number;

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

Sums the rendered size of the full table header row.

This includes left, center, and right columns in the main header group.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

number

Example

ts
const width = table_getTotalSize(table)
const width = table_getTotalSize(table)