API REFERENCE

collapseAllDetailRows

Collapses all open detail rows and cleans up their panel resources.

What does this API do?

Collapses all open detail rows and cleans up their panel resources.

API for Pro features: Built-in master / detail

Exact input and result types

typescript
collapseAllDetailRows(): Promise<void>
ArgumentsRequiredType

The return type is Promise<void>.

Usage flow

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

Feature explanations and examples