最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Does jqgrid support row height so i can get multi lines showing in one row - Stack Overflow

programmeradmin4浏览0评论

I have a few columns that are very long and i want to show all of the content so i want to setup jqgrid to have the height of each row able to show multiple lines of text in one cell which word wraps

is this possible

I have a few columns that are very long and i want to show all of the content so i want to setup jqgrid to have the height of each row able to show multiple lines of text in one cell which word wraps

is this possible

Share Improve this question asked Jul 16, 2010 at 14:43 leoraleora 197k367 gold badges906 silver badges1.4k bronze badges 1
  • Does IE 6 support this? Thanks. Archan – user587814 Commented Jan 25, 2011 at 16:05
Add a ment  | 

1 Answer 1

Reset to default 14

The following bit of CSS will enable word wrap:

.ui-jqgrid tr.jqgrow td {
  white-space: normal !important;
  height:auto;
  vertical-align:text-top;
  padding-top:2px;
}

See this link for more information.

发布评论

评论列表(0)

  1. 暂无评论