CGridView pagination

How i can remove Go To Page , and rename button ‘next’ e.t.c

Screen : http://s42.radikal.ru/i096/1004/d1/66a293806ea2.jpg

code:


$dataProvider=new CActiveDataProvider('Hosting', array(

        	'criteria'=>$criteria,

			'pagination'=>array(

				'pageSize'=>'5',

			),	    	

        ));

You cannot set it in the CActiveDataProvider, but can for example in the CGridView

for example:




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

   'dataProvider'=>$dataProvider,

   'pager'=>array(

      'class'=>'CLinkPager',

      'header'=>'Idi na->',

   )

));



For all possible labels (attributes) take a look at the CLinkPager class: http://www.yiiframework.com/doc/api/CLinkPager

cgrid view pager save the filter on goto next page?