Tried this, in order to change the number of hits on each page, with no results:
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'x-grid',
'dataProvider'=>$x->search(),
'filter'=>$x,
'columns'=>array(
...
),
'pager' => array(
'class' => 'CLinkPager',
'pageSize' => 5,
),
)); ?>