GridView Pagination Label.

How to change the label on the GridView Pagination. as can be done by Components CLinkPager by changing the contents of the properties or prevPageLabel nextPageLabel.

check the CGridView::pager property - http://www.yiiframework.com/doc/api/1.1/CBaseListView#pager-detail

thank you.

I want to display the pager to the First and Last. how to do ?

This is controller by the CSS… in the default css class for the pager (framework/web/widgets/pagers/pager.css) there is this rule




/**

 * Hide first and last buttons by default.

 */

ul.yiiPager .first,

ul.yiiPager .last

{

	display:none;

}



you can just override this rule in one of your CSS classes

thank you :)