TanStack

Row_RowPinning

Interface: Row_RowPinning

Defined in: features/row-pinning/rowPinningFeature.types.ts:42

Properties

getCanPin()

ts
getCanPin: () => boolean;

Defined in: features/row-pinning/rowPinningFeature.types.ts:46

Checks whether this row can be pinned.

Returns

boolean


getIsPinned()

ts
getIsPinned: () => RowPinningPosition;

Defined in: features/row-pinning/rowPinningFeature.types.ts:50

Returns the pinned position of the row. ('top', 'bottom' or false)

Returns

RowPinningPosition


getPinnedIndex()

ts
getPinnedIndex: () => number;

Defined in: features/row-pinning/rowPinningFeature.types.ts:54

Returns the numeric pinned index of the row within a pinned row group.

Returns

number


pin()

ts
pin: (position, includeLeafRows?, includeParentRows?) => void;

Defined in: features/row-pinning/rowPinningFeature.types.ts:58

Pins a row to the 'top' or 'bottom', or unpins the row to the center if false is passed.

Parameters

position

RowPinningPosition

includeLeafRows?

boolean

includeParentRows?

boolean

Returns

void