API REFERENCE

resetColumnWidth

Resets the specified column's user-adjusted width to its initial setting.

What does this API do?

Resets the specified column's user-adjusted width to its initial setting.

Exact input and result types

typescript
resetColumnWidth(colId: string): Promise<void>
ArgumentsRequiredType
colIdRequiredstring

The return type is Promise<void>.

Usage flow

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

Feature explanations and examples