CListView Ajax Pagination

Hi all,

I want to make a CListView in a tab which the tab number not at first.

How can I do ajax pagination on CListView, so I don’t get the page refreshing but only the CListView instead ?

this is my code for view :




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

	'dataProvider'=>$dataProvider,

	'itemView'=>'../school/sekolahview',

	'ajaxUpdate'=>true,

)); ?>



Thanks.

I am a newby and had the same problem. Adding an id fixed it for me, for example:




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

	'dataProvider'=>$dataProvider,

	'itemView'=>'../school/sekolahview',

        'id'=>'some id'

	'ajaxUpdate'=>true,

)); ?>



Hi… you did that?

I need help in the same topic!

I need to know how to paginate a CListView with ajax

it didnt work for me. here is my code

<?php $this->widget(‘zii.widgets.CListView’, array(

'dataProvider'=&gt;&#036;dataProvider,


'itemView'=&gt;'//jobs/_view',


           'id'=&gt;'12',


    'ajaxUpdate'=&gt;true,

)); ?>

In the Class Reference for CListView it says that ajaxUpdate is for the id of the container to be updated. Set to False to disable Ajax. It is not a boolean field.