Ajax pagination not working if key field is not id for CarrayDataProvider and CListView

Dear all,

I am using CarrayDataProvider and CListView to display datas now. But I found the ajax pagination is not working when I add



Here is one of my dataproviders …I have same codes for another data provider, this one is only different with



And AJAX is not woking anymore… Thanks so much! :D

in my View:

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







In my Controller:


     $questionsDataProvider=new CArrayDataProvider($questions,array(






Everything should be fine…but AJAX is not working… No ajax request submitted…when you click on the pager, a new url address will be generated…

No errors in firebugs…also


Hi, I got the same problem. Any solutions, please?