JqGrid单元格自动换行

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

1、自动处理为省略号

<style>

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

</style>

 

 

 

2、自动换行:

<style>

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

</style>

 

posted @ 2018-01-30 18:19  SmilePastaLi  阅读(5446)  评论(2编辑  收藏  举报