I tried your suggestion and I get an error
"rowData.pq_detail is undefined" (I checked that the rows do have detail data)
Here's my code
var data=$( "#grid_array" ).pqGrid( "option" , "dataModel.data" );
for ( var i = 0; i < data.length; i ++ )
{
var rowData = data;
if (rowData.pq_detail) // is never true, although data does exist
{
var $child_grid = rowData.pq_detail.child.find( ".pq-grid" );
rowData["PackageContent"] = $child_grid.pqGrid( "option" , "dataModel.data" );
}
}