Cgridview Ajax Requests Do Nothing

Hey,

something is wrong in my grid. Every ajax request - be it pagination or sorting, gets executed with no problem, however data wont get refreshed. If I will review the request in firebug, I can see that it returned whole page…

Do I need to do something else? I could swear it was working before… It doesnt work even with the most basic implemetation:




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

    'dataProvider' => new CActiveDataProvider('Post')

));



Could it be my configuration?

Here is my router:




'admin/<a:(login|logout)>' => 'admin/<a>',

'admin/<c:[\w\-]+>' => '<c>/index',

'admin/<c:[\w\-]+>/<a:add>' => '<c>/<a>',

'admin/<c:[\w\-]+>/<a:[\w\-]+>/<id:\d+>' => '<c>/<a>',	



Any ideas?

Check if you have added some js file that could cause this, I remember I added a js that broke something similar in my site.

Thanks for reply. I disabled every included JS, delete assets folder and still the same result.

Nevermind, solved it

What was the error?