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
Something strange with pager alignment in case of navGrid using.
17/10/2013
17:24
Avatar
bvn13
New Member
Members
Forum Posts: 2
Member Since:
17/10/2013
sp_UserOfflineSmall Offline

I try to implement dinamically generating database table views with jqGrid. When I turned the navGrid on, I saw something wrong with alignment. Please, look: http://snap.ashampoo.com/c6r0qYLq

I took a look on html-code and revealed one strange bug.

In case of wrong alignment there is "style="width: 106px;" " was added: http://snap.ashampoo.com/1hmxUrVP

What is it? Is it a setting? Is it a bug? or a feature? How can I fix this?

Here is my script to generate all the cases of tables: http://snap.ashampoo.com/FNYpQeM0 (with the right alingnment and the wrong one).

18/10/2013
11:27
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Please try to use setTimeout when you resize the grid with setGridWidth.

Regards

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.

18/10/2013
15:46
Avatar
bvn13
New Member
Members
Forum Posts: 2
Member Since:
17/10/2013
sp_UserOfflineSmall Offline

tony said:

Hello,

Please try to use setTimeout when you resize the grid with setGridWidth.

Regards


I tried to set timeout. Nothing happens. Here is a screencast: http://yadi.sk/d/dxtak2X3BAsAF

Am I do it wrong?

And I suppose it can occure when there are few collumns. In this case jqGrid tries to take small place.

22/10/2013
08:17
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

This seems to be a problem in the setGridWidth which does not afect navigator table if present.

To fix currently the problem try to create the navigator (navGrid) after you set the new width.

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:
29 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