Setting maxButtonCount in TbGridView for the pager fails

64 views
Skip to first unread message

Okeanos

unread,
Oct 15, 2012, 9:15:24 AM10/15/12
to yii-bo...@googlegroups.com
Using any form of 'pager'=>array('maxButtonCount'=>20) in a TbGridView will cause the pager to default to the CLinkPager Theme.
This is possibly related to https://bitbucket.org/Crisu83/yii-bootstrap/issue/26/changing-pager-label-break-style – any idea on how to prevent this?

Christoffer Niska

unread,
Oct 16, 2012, 2:08:59 AM10/16/12
to yii-bo...@googlegroups.com
Yes, you need to define that you want to use TbPager explicitly by setting the "class" attribute.

-Chris


On Mon, Oct 15, 2012 at 4:15 PM, Okeanos <nik...@conceited.net> wrote:
Using any form of 'pager'=>array('maxButtonCount'=>20) in a TbGridView will cause the pager to default to the CLinkPager Theme.
This is possibly related to https://bitbucket.org/Crisu83/yii-bootstrap/issue/26/changing-pager-label-break-style – any idea on how to prevent this?



--
Best regards,
Christoffer Niska
Phone +358 500 980 565

Reply all
Reply to author
Forward
0 new messages