如何更改 jqGrid 中的字体大小? [英] How to change the font size in jqGrid?
本文介绍了如何更改 jqGrid 中的字体大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
它已经以 ui-lightness 运行.如何更改网格内的字体大小?
It is already running with the ui-lightness. How do I change the font size inside the grid?
请指教.
谢谢.
推荐答案
基本上你可以按照 Mano 的建议直接修改 css 文件,或者如果你需要更多的灵活性,你可以创建自己的内联样式.例如:
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}
这篇关于如何更改 jqGrid 中的字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文