TanStack

Column_ColumnOrdering

Interface: Column_ColumnOrdering

Defined in: features/column-ordering/columnOrderingFeature.types.ts:39

Properties

getIndex()

ts
getIndex: (position?) => number;

Defined in: features/column-ordering/columnOrderingFeature.types.ts:46

Finds this column's zero-based index among visible columns.

Pass 'start', 'center', or 'end' to measure within that pinned region instead of the full visible leaf order.

Parameters

position?

ColumnPinningPosition | "center"

Returns

number


getIsFirstColumn()

ts
getIsFirstColumn: (position?) => boolean;

Defined in: features/column-ordering/columnOrderingFeature.types.ts:52

Checks whether this column is the first visible column.

Pass a pinned region to check the first column within that region.

Parameters

position?

ColumnPinningPosition | "center"

Returns

boolean


getIsLastColumn()

ts
getIsLastColumn: (position?) => boolean;

Defined in: features/column-ordering/columnOrderingFeature.types.ts:58

Checks whether this column is the last visible column.

Pass a pinned region to check the last column within that region.

Parameters

position?

ColumnPinningPosition | "center"

Returns

boolean