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

column_getAfter

Function: column_getAfter()

ts
function column_getAfter<TFeatures, TData, TValue>(column, position): number;
function column_getAfter<TFeatures, TData, TValue>(column, position): number;

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

Computes the offset from the end edge of a pinning region after this column.

The value is the sum of all following visible leaf column sizes in the requested region.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends unknown = unknown

Parameters

column

Column_Internal<TFeatures, TData, TValue>

position

ColumnPinningPosition | "center"

Returns

number

Example

ts
const rightOffset = column_getAfter(column, 'right')
const rightOffset = column_getAfter(column, 'right')