jqGrid实现表头自动换行

来源:互联网 发布:电信机顶盒改mac地址 编辑:程序博客网 时间:2024/05/16 05:29

当jqGrid表头内容过多无法全部展示时,添加以下css实现表头自动换行。

<style type="text/css">        /* jqgrid 表头自动换行 */th.ui-th-column div{        white-space: normal !important;        height: auto !important; }</style>

1 0
原创粉丝点击