Hi Abu,
If I put the below code in the head section of html. It wraps all grids columns.
I have several grids on a form and only one column in one grid needs to be wrapped.
Is that another way to do this?
<style>
.ui-jqgrid tr.jqgrow td
{
vertical-align: top;
white-space: normal !important;
padding:2px 5px;
}
</style>
3 Answers
You can set:
#gbox_list1 tr.jqgrow td
{
vertical-align: top;
white-space: normal !important;
padding:2px 5px;
}
where list1 is grid id.
Thanks Abu,
That works, except it ignores n for line breaks.
When I hover over the cell the hover value is perfect.
So how do I get the hover layout in the cell?
Your Answer