Forum
04:26
10/09/2009
Hello Tony,
I've noticed a weird behaviour if I use the autowith parameter and the setGridWidth funtion together.
I have a grid with a few rows thus scrolling isn't necessary. Befor I execute the setGridWidth funtion there's a gap at the right side (surly for the scrollbar). But if I use the setGridWidth function the gap disapears and I have a kind of the 2px Border.
Here are some screenshots with the behaviour:
How can I handle this behaviour? I wish there where a “After” view but with 1px Border
PS: For the behaviour I used the the grid at the demo page: Page -> New in version 3.5 -> Autowith and row numbering
First I used the setGridHeight command to resize the grid so no scrolling is necessary. Than I executed the setGridWidth command. (All commands are done live at the page with firebug)
22:10
Moderators
30/10/2007
Hello,
I do not think that this is a bug. The 1px comes from the whole grid div the other pixel comes from the table right border of the cell. Any attempt to "correct" this will cause other problems.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
01:31
10/09/2009
In my opinion the 2px border could be ignored. The behaviour that the right gap changes after resize looks a bit strange. Is it possible to hide the gap even at the grid definition? It looks confusing if in the beginning there's a gap and after resize it disappears. An alternative would be to show the gap permanent. Maybe this is possible? I just try to create a consistent view. I hope you understand what I mean
Most Users Ever Online: 715
Currently Online:
92 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