Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does jqgrid support row height so i can get multi lines showing in one row

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

like image 774
leora Avatar asked Jul 16 '10 14:07

leora


1 Answers

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.

like image 81
Justin Ethier Avatar answered Oct 30 '22 02:10

Justin Ethier