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(

   'id'=>'ge-cg-'.$myLib['id'],

   'filter'=>$geCGModel,

   'dataProvider'=>$dataProvider, 

   'columns'=>$columns,

   '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).

Thanks!

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


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

[/s]

You’re right. Why so glum?

[s]

[/s]