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_TopicIcon
pager_left width not calculated when columnChooser is used
23/01/2014
23:34
Avatar
drembedded
Member
Members
Forum Posts: 8
Member Since:
23/01/2014
sp_UserOfflineSmall Offline

When I only enable refresh, the width of the pager_left area seems to be calculated correctly.

        testGrid.jqGrid('navGrid','#pager', {edit:false,add:false,del:false,refresh:true}, {}, {}, {}, {multipleSearch:true, multipleGroup:true, showQuery: true} );

If I enable another feature like edit, if I hover over the refresh icon most of it is "active" i.e. I get a tool tip, but if I hover the right most part of the refresh icon, the tool tip doesn't opo up and I nothing happens when I click on that part of the icon.

If I also enable add, then the less of the refresh icon is active (unclickable and no tool tip).

With add, edit, delete, search and refresh active: only half of the refresh button is active.

If I enable columnChooser, almost all of the columnChooser icon is inactive.

Looking at the elements in firebug, I can see that pager_left overlaps pager_center so it would seem that pager_center is seeing the mouse events for the area that overlaps.

Heres a screen capture showing the columnChooser icon overlapping the first_pager icon:

Image Enlarger
Enabling delete and refresh, we can see that the pager_left does get wider but pager_center continues to overlap.

Image Enlarger

Disabling columnChooser we still see a small overlap between  refresh and first_pager:

Image Enlarger

I've observed this issue in both internet exploer and firefox. I'm using jqgrid 4.5.4.

Is this a javscript layout problem or something that I'm doing incorrectly?

Thanks.

24/01/2014
00:45
Avatar
drembedded
Member
Members
Forum Posts: 8
Member Since:
23/01/2014
sp_UserOfflineSmall Offline

I've also noticed that depending on how many options I add to the pager_left, the pager_right section gets pushed off to the right.

Image Enlarger

Image Enlarger

Image Enlarger

Image Enlarger

Image Enlarger

24/01/2014
00:48
Avatar
drembedded
Member
Members
Forum Posts: 8
Member Since:
23/01/2014
sp_UserOfflineSmall Offline

I've added the following and now I don't get overlap and the entire icon seems to be enable (tool tip pops up when hovering anywhere over the icon)

autowidth:true,

Still think there are gremlins in the width calculations but autowidth seems to make verything happy.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
39 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