Details of a row can be shown using an html template defined in <script> tags..

Data binding of detail view is done with row data of main grid in initDetail() function which is passed as callback to detailModel.init of parent grid.

Reference to child detail can be obtained from corresponding parent row data as rowData.pq_detail_child

Conversely reference to parent row can be obtained from detail view as rowData passed as parameter to gridDetailModel function.