How to change color of header (or set my own class) for TbGridView ?

54 views
Skip to first unread message

Alex

unread,
Oct 14, 2012, 4:03:21 AM10/14/12
to yii-bo...@googlegroups.com
Hello, Everyone,

is anybody know how can I change background color of Header in TbGridView or set my own class for it?
In pure Bootstrap I used class 'btn-inverse' for <thead> but now I can't find how to do it.

thanks a lot for help.

Christoffer Niska

unread,
Oct 14, 2012, 6:40:44 AM10/14/12
to yii-bo...@googlegroups.com
Sure you can, set the class as you'd normally do in "headerOptions" to the column.

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

Reply all
Reply to author
Forward
0 new messages