我如何在jqgrid标题组中对齐文本 [英] How can I center align text in jqgrid header group

查看:287
本文介绍了我如何在jqgrid标题组中对齐文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用使用中心对齐列标题生成以下网格:





我如果你会发布你的演示,你可以查看问题的起源。我猜想其他一些CSS会造成问题。


I am using the new header grouping feature of jqgrid 4.2 which works great except that it left aligns all of the text in the header groups.

How can align the header group text to be center in the cell?

Here is a screenshot to show you how it seems to be working by default: (I want "Books" to be center aligned")

NOTE: the regular column headers ARE center aligned.

解决方案

Sorry, but I can't reproduce the problem. The demo produce the following grid with the center alignment column headers:

If you would post your demo one can examine where is the problem's origin. I suppose that some other CSS which you make the problem.

这篇关于我如何在jqgrid标题组中对齐文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆