I’m trying to have 50 or more items listed in CGridView-Widget with following code, but it doesn’t effect.
Can someone tell me why it doesn’t effect and how to fix it?
Many thanks in advance.
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'file-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'pager'=>array(
'class'=>'CLinkPager',
'pageSize' => 50,
'firstPageLabel'=>'Erste',
'lastPageLabel'=>'Letzte',
'nextPageLabel'=>'Nächste',
'prevPageLabel'=>'Vorherige',
'header'=>'',
),
'columns'=>array(
...