API REFERENCE
getColumnOrder
Reads column IDs in current display order.
What does this API do?
Reads column IDs in current display order.
Exact input and result types
getColumnOrder(): Promise<string[]>| Arguments | Required | Type |
|---|
The return type is Promise<string[]>.
Usage flow
After registering and initializing the Grid element, call grid.getColumnOrder(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Column sizing and pinning
Width, order, pinning, and visibility are independent column states. Combine them to pin order IDs, hide supporting information, and widen long product names.