API REFERENCE
getDetailRowData
Returns detail rows for the expanded parent as an array or Promise. Reuses the result while the row remains expanded.
What does this API do?
Returns detail rows for the expanded parent as an array or Promise. Reuses the result while the row remains expanded.
API for Pro features: Built-in master / detail
Exact input and result types
getDetailRowData: (params: { row: Record<string, unknown>; rowId: string | number }) => unknown[] | Promise<unknown[]>| Item | Value |
|---|---|
| JavaScript name | getDetailRowData |
| HTML attribute | get-detail-row-data |
| Default | undefined |
| Input type | (params: { row: Record<string, unknown>; rowId: string | number }) => unknown[] | Promise<unknown[]> |
Usage flow
Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
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.