I haven’t found any examples of configuring a pager for a CListView. I would like to have it show 5 buttons rather than the default 10. Does anyone have a code snippet to share or pointer to an example? I can see the setting in the source, but can’t figure out how to specify it in a CListView widget.
Hi,
have you tried to set CListViews pager property?
$this->widget('zii.widgets.CListView', array(
'pager'=>array('class'=>'CLinkPager','maxButtonCount'=>5),
...
));
Regards