I am using a jqGrid extension and in ‘options’ => array(‘data’ => $rawArray) it requires apparently a raw array. However the dataProvider or $model->search(), $model->findAll() returns an object.
Is there any way to retrieve a raw data for the jgGrid extension or do I really have to iterate to create a raw array?
Or does the jqGrid extension accept the dataProvider somehow?
All I see in jqGrid extension is ‘options’ => array(‘url’=>’/path/to/grid.json’,… ).