当jqGrid表头内容过多无法全部展示时,添加以下css实现表头自动换行。
<style type="text/css">
/* jqgrid 表头自动换行 */
th.ui-th-column div{
white-space: normal !important;
height: auto !important;
}
</style>
当jqGrid表头内容过多无法全部展示时,添加以下css实现表头自动换行。
<style type="text/css">
/* jqgrid 表头自动换行 */
th.ui-th-column div{
white-space: normal !important;
height: auto !important;
}
</style>