Ajaxurl Parameter Of Cgridview

I’m trying to use ajaxUrl param of CGridView and it’s having no effect.

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





   'ajaxUrl'=>Yii::app()->createUrl( 'Something/search' ),


This doesn’t seem to be overriding the ajax url of the CGridView widget. The grid’s ajax request is still going to the controller that rendered it (which is different than the grid’s own controller).


[s]According to http://www.yiiframework.com/doc/api/1.1/CGridView#ajaxUrl-detail I guess you could (should?) write

   'ajaxUrl'=>array( 'Something/search' ),


You’re right. Why so glum?