当前位置: 代码迷 >> 综合 >> jqGrid实现表头自动换行
  详细解决方案

jqGrid实现表头自动换行

热度:60   发布时间:2024-02-01 16:25:50.0

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

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