Jqgrid表头自动换行

jqgrid表头过长,如果table的header部分字段太多或字段文字太长需要自动换行时,可尝试如下css。

<style type="text/css">
		th.ui-th-column div {
        white-space: normal !important;
        height: auto !important;
        padding: 0px;
    }
	</style>

猜你喜欢

转载自yaohongxing.iteye.com/blog/2282613