Forum
I have a grid using autowidth to fit the user's browser window width. I have attached a resize handler to the window which sets the new width for the grid, when the window is resized. This works very nicely. I have also activated the top pager using the option toppager: true. Its width however is not set when calling setGridWidth. As a workaround, I have added code for manually setting the toppager's width in my resize handler. But I believe this is a bug in jqGrid and should be fixed there.
Great product by the way. It really integrates well with ASP.NET MVC and works outstandingly.
14:10
Moderators
30/10/2007
Hello,
Thank you very much for this. The bug is fixed in GitHub
http://github.com/tonytomov/jq.....fe2766121c
Best 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.
07:31
26/04/2010
I'm having a similar problem - I am using the autowidth: true option, and the toppager does not conform to the width as the rest of the grid does.
Using those two lines added in GitHub allows me to set the width to a specific value to match the rest of the grid, but does not seem to work with autowidth:true.
12:07
Moderators
30/10/2007
Hello,
And what is actually the problem?
In my jqGrid demo I have set in the XML data example (which uses the autowidth) the toppager to true and evrething work fine.
Best 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.
Most Users Ever Online: 715
Currently Online:
43 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