【转】jqgrid单元格内容过长 样式处理

原文地址:https://blog.csdn.net/zzq2yz1314/article/details/48624247

1、自动处理为省略号

<style>

.ui-jqgrid tr.jqgrow td { text-overflow : ellipsis; }

</style> 

text-overflow

 

2、自动换行:

<style>

.ui-jqgrid tr.jqgrow td { white-space: normal !important; height:auto; }

</style>

 white-space

 

posted @ 2018-06-14 13:22  花影疏帘  阅读(492)  评论(0)    收藏  举报