API REFERENCE

autoSizeAllColumns

Autosizes all columns. Do not assume unloaded server values can be measured.

What does this API do?

Autosizes all columns. Do not assume unloaded server values can be measured.

Exact input and result types

typescript
autoSizeAllColumns(): Promise<void>
ArgumentsRequiredType

The return type is Promise<void>.

Usage flow

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

Feature explanations and examples