Sorry, my bad. But instead of deleting my question, I will explain my mistake incase somebody else will do the same...
I made a mistake declaring "subGridModel". Instead using array:
$jqGrid->setJqgParams(array(
'caption' => 'test report',
<..>
'subGrid' => true,
'subGridUrl' => $this->view->url(array('controller'=>'report','action'=>'indexstoragebalancesubgrid'),'default', true),
'subgridtype' => 'json',
'loadonce' => false,
// next line where problem fixed
'subGridModel' => array(array("name" => array("ID", "Title", "Code", "Quantity"), "width" => array(10,55,200,80)))
<..>
));
I wrote string:
'subGridModel'=>'[{name : ["ID", "Title", "Code", "Quantity"], width : [10,55,200,80]}]'
And that's why it did not work in javascript.
By the way, you can see that I wrote array in array. That is because with one array ZFDataGrid generates such javascript:
"subGridModel":{"name":["ID","Title","Code","Quantity"],"width":[10,55,200,80]}
instead of this:
"subGridModel":[{"name":["ID","Title","Code","Quantity"],"width":[10,55,200,80]}]
It is important for jqgrid subgrid to work!