jqgrid表头过长,如果table的header部分字段太多或字段文字太长需要自动换行时,可尝试如下css。
<style type="text/css">
th.ui-th-column div {
white-space: normal !important;
height: auto !important;
padding: 0px;
}
</style>