It is already running with the ui-lightness. How do I change the font size inside the grid?
Please advise.
Thank you.
There is an excellent post about this on the jqGrid Forum.
Essentially you can do what Mano suggests and modify the css file directly, or you can create your own in-line style if you need more flexibility. For example:
.ui-jqgrid {font-size:0.8em}
If you do create an inline style you may need to make it more specific to pick up grid rows:
.ui-jqgrid tr.jqgrow td {font-size:0.8em}
The very first line in ui.jqgrid.css
is this:
.ui-jqgrid{position:relative;font-size:11px;}
Change the font-size to what you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With