View Full Version : Set column style on a gridPanel

28 Jun 2010, 1:08 PM
Hi, I'm trying to set an entire column as bold, but I can't do it. I tried to set style but it's not working.
How can I do this?
Thanks in advance!

28 Jun 2010, 8:10 PM
You could apply a css config about to your column you would like to bold. You could also define a renderer for your column. I would probably do the css route...

.bold-me {
font-weight: bold;

{id: 'yourColumn', header: 'Your Header', css: 'bold-me'}


28 Jun 2010, 11:30 PM
I would recommend:

.my-grid .x-grid3-col-my-column {font-weight: bold;}

With a GridPanel configured with cls: 'my-grid' and the column configured with id: 'my-column'.

29 Jun 2010, 10:16 AM
Thank you both!!
I used Condor's way, it works fine :)