API REFERENCE
setDetailRowExpanded
Expands or collapses a detail panel by stable parent row ID.
What does this API do?
Expands or collapses a detail panel by stable parent row ID.
API for Pro features: Built-in master / detail
Exact input and result types
setDetailRowExpanded(rowId: string | number, expanded: boolean): Promise<void>| Arguments | Required | Type |
|---|---|---|
| rowId | Required | string | number |
| expanded | Required | boolean |
The return type is Promise<void>.
Usage flow
After registering and initializing the Grid element, call grid.setDetailRowExpanded(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Row details
Master/detail expands an order to show its line items or shipping history. The parent row is a summary, and a full-width panel beneath it holds details.