views:

314

answers:

1

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

+1  A: 

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.

Justin Ethier