Pagination Not Working

Hi all

I have a little problem i have a page loaded via Ajax the page loaded correctly but the pagination on that is not working correctly although the data is available but not displaying on the page i.e. pagination is not working.

Will anybody guide me on this.



    $this->widget('zii.widgets.CListView', array(

        'dataProvider' => $categories,

        'itemView' => 'icon_view',

        'ajaxUpdate' => true,

        'enablePagination' => true,

        'template' => '{items}{pager}',




Post your error here. so we can better understand.

Have you created icon_view.php in your view folder? or if yes then paste the code here.

in your action , check value of $_GET[‘ajax’] ,check query that use in dataProvider.