API REFERENCE

setColumnOrder

Sets display order using column IDs.

What does this API do?

Sets display order using column IDs.

Exact input and result types

typescript
setColumnOrder(orderedColIds: string[]): Promise<void>
ArgumentsRequiredType
orderedColIdsRequiredstring[]

The return type is Promise<void>.

Usage flow

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

Feature explanations and examples