API REFERENCE

getColumnPinned

Reads the column's current pinning direction.

What does this API do?

Reads the column's current pinning direction.

Exact input and result types

typescript
getColumnPinned(field: string): Promise<ColumnPinSide | null>
ArgumentsRequiredType
fieldRequiredstring

The return type is Promise<ColumnPinSide | null>.

Usage flow

After registering and initializing the Grid element, call grid.getColumnPinned(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Read related types

Feature explanations and examples