API REFERENCE
detailRowDestroyed
Emitted when a detail panel is destroyed. Clean up app resources associated with its rowId too.
What does this API do?
Emitted when a detail panel is destroyed. Clean up app resources associated with its rowId too.
API for Pro features: Built-in master / detail
Exact input and result types
detailRowDestroyed: { rowId: string | number }Usage flow
Subscribe with grid.addEventListener('detailRowDestroyed', handler). The result is in event.detail, and event names are case-sensitive. Remove subscriptions when disposing of the view.
const controller = new AbortController();
grid.addEventListener('detailRowDestroyed', event => {
console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();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.