Forum


19:54

Hello,
I have watched your grid demos and still can't figure out why my columns don't fill the entire grid width. Let's say I have 3 columns, for which I set some width values. For the grid, I set no width. After the last column, there will always be about 30px to the grid's right border. If I resize the column, it comes closer to the border, as I would like it to be. Any help,please?
Thank you.
19:17

Moderators
30/10/2007

Hello,
Not know what you mean , but check for shrinkToFit, height and scrollOffset options.
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.
22:48

Hello,
May be this will help:
http://img69.imageshack.us/img...../demox.jpg
A red circle shows the extra space I don't want to be there.
Thank you!
21:00

Moderators
30/10/2007

Hello,
Did you have looked into the docs for the options that I have posted?
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.
21:25

07/01/2010

Read them, but I initially thought they were related to the height not the width of the grid. Setting scrollOffset to less than 18 (the default), did the trick. I don't know what we'll be the behaviour when a scroll is needed, but as I use pagination I don't worry too much for now. Thank you!
Best regards,
Cosmin
Most Users Ever Online: 715
Currently Online:
51 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