API REFERENCE

hideColumn

Hides a column without deleting source data or revoking read permission.

What does this API do?

Hides a column without deleting source data or revoking read permission.

Exact input and result types

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

The return type is Promise<void>.

Usage flow

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

Feature explanations and examples