How to customize Yii CGridView Pager about its position, css, template?
thx, I got that, but how to change the template of Pager
tq0fqeu
2010-05-26 01:07:47
If you want just to customize how it looks you can use http://www.yiiframework.com/doc/api/CLinkPager#cssFile-detail to apply your own styles.These properties are specified in the array http://www.yiiframework.com/doc/api/CBaseListView#pager-detail. So property name is key, property value is value.If you want to customize markup itself or generation login it's better to create your own component that extends CLinkPager or CBasePager and specify its class as value of "class" key of CBaseListView::pager property.
Sam Dark
2010-05-26 10:39:34