column_getAfter

Function: column_getAfter()

ts
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')