API REFERENCE

getColumnState

Reads serializable column width, order, visibility, sorting, and pinning state.

What does this API do?

Reads serializable column width, order, visibility, sorting, and pinning state.

Exact input and result types

typescript
getColumnState(): Promise<ColumnStateEntry[]>
ArgumentsRequiredType

The return type is Promise<ColumnStateEntry[]>.

Usage flow

After registering and initializing the Grid element, call grid.getColumnState(…). 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