版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/li4562258fj155/article/details/65442862
当jqGrid表头内容过多无法全部展示时,添加以下css实现表头自动换行。
<style type="text/css">
/* jqgrid 表头自动换行 */
th.ui-th-column div{
white-space: normal !important;
height: auto !important;
}
</style>