Home › Forums › Guriddo jqGrid JS › Help › Formatting column headers
Can the column headers be formatted, i.e. using a different font, font size, or by boldfacing the font?
If so, how?
Just paste the following in your CSS:
#YOUR-TABLE-ID {
font: 1.2em Arial,Tahoma,Serif;
}
th{
font-size: 16px
Hello,
I recommend you to look at documentaion – jqGrid methods.
There is a special method for this purpose.
Regards
tony said: Hello, I recommend you to look at documentaion – jqGrid methods. There is a special method for this purpose. Regards
tony said:
Thank you Tony.
I mean the same method. But, why do you not try it?
Trying this will lost you a minute and is not painful
I mean the same method. But, why do you not try it? Trying this will lost you a minute and is not painful
I'm not objecting to trying it – in fact, I already have.
Ok. It seems the docs are not clear ( I have fixed this). With colName we mean name from colModel.
The method can be put in loadComplete or it will work after the grid is created an put it wher you want.
Note that this method work for the label of the grid header and not for the rows.
Ok. It seems the docs are not clear ( I have fixed this). With colName we mean name from colModel. The method can be put in loadComplete or it will work after the grid is created an put it wher you want. Note that this method work for the label of the grid header and not for the rows.
Thank you for clarifying things in the docs & eliminating some of the (bad) guesswork on my part!
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS