Back to Table

Column_ColumnOrdering

docs/reference/interfaces/Column_ColumnOrdering.md

8.21.32.0 KB
Original Source

Interface: Column_ColumnOrdering

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

Properties

getIndex()

ts
getIndex: (position?) => number;

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

Returns the index of the column in the order of the visible columns. Optionally pass a position parameter to get the index of the column in a sub-section of the table

Parameters

position?

ColumnPinningPosition | "center"

Returns

number


getIsFirstColumn()

ts
getIsFirstColumn: (position?) => boolean;

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

Returns true if the column is the first column in the order of the visible columns. Optionally pass a position parameter to check if the column is the first in a sub-section of the table.

Parameters

position?

ColumnPinningPosition | "center"

Returns

boolean


getIsLastColumn()

ts
getIsLastColumn: (position?) => boolean;

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

Returns true if the column is the last column in the order of the visible columns. Optionally pass a position parameter to check if the column is the last in a sub-section of the table.

Parameters

position?

ColumnPinningPosition | "center"

Returns

boolean