Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
toppager will not resize on setGridWidth
19/04/2010
11:25
Avatar
coeamyd
Germany
Member
Members
Forum Posts: 3
Member Since:
19/04/2010
sp_UserOfflineSmall Offline

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.

19/04/2010
14:10
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

26/04/2010
07:31
Avatar
punkas
New Member
Members
Forum Posts: 1
Member Since:
26/04/2010
sp_UserOfflineSmall Offline

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.

29/04/2010
12:07
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
24 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information