当jqgrid单元格的内容过长时,用省略号的形式表示 或 用换行的形式

xxx....格式:
<style>
.ui-jqgrid tr.jqgrow td {
text-overflow : ellipsis;
}
</style>
 
过长换行:
<style>
.ui-jqgrid tr.jqgrow td {
white-space: normal !important;
height:auto;
}
</style>
 
posted @ 2018-04-25 11:43  HwChinchilla  阅读(1219)  评论(0编辑  收藏  举报