Forum
11:50
25/07/2012
By default .ui-jqgrid tr.jqgrow td {white-space: pre;} is applied to data in the grid resulting in data that overflows the width of the cell being hidden. I believe that this is the wrong approach and that the data should not be hidden from the user. I am applying the style .ui-jqgrid tr.jqgrow td {white-space: normal;} to my page which results in my desired behaviour of data that overflows the width of the cell wrapping.
I am using this in conjunction with autowidth: true and am having the following problem.
On the initial page load the width of the grid is calculated correctly and there is no page scroll as my data is not of sufficient length to require it. Switching the column sorting order triggers page scroll as my data is of sufficient length to do so. The grid width is not recalculated to account for the page scroll whilst the rest of my page is, resulting in the grid breaking out of its container. I believe the grid and column widths should be recalculated on refresh.
An additional example of this happening is when resizing the browser window, when doing so the grid width is not recalculated and exceeds the width of the window even if the data contained within it is short enough to do so.
I can supply a bare bones demo if required.
Most Users Ever Online: 715
Currently Online:
57 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66