Forum

July 12th, 2025
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 ad Navigation probelem
21/04/2010
11:01
Avatar
angelo.pellegrinon
Member
Members
Forum Posts: 5
Member Since:
21/04/2010
sp_UserOfflineSmall Offline

Hello,

I have a problem with my grid using pager and "navigation buttons".

The pagerpos is left (the grid is very big and I don't whant that the users use scoll to go to che center of the grid).

If I add some navButtons they go under the "pager buttons (next page, previous page etc)" and can't use them.

If I put the pager at center (not using the pagepos parameter) all is good.

My Code:

<table id="list" class="scroll"></table>
<div id="pager" class="scroll" style="text-align:left;"></div>

pager: jQuery('#pager'),
pagerpos: 'left',

}).navGrid('#pager',{edit:false,add:false,del:false,search:false}).navButtonAdd('#pager',{
        caption:"Test Button",
        buttonicon:"ui-icon-modify",
        onClickButton: function(){
            alert("Adding Row TEST");
        },
    position:"first"
    })

If you inspect html with firebug, you'll find that the scripts creates 2 tables into the "pager_left" <tr> into the pager div.

Thanks to all!

Angelo

26/04/2010
13:28
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

In this case you will need to set the position of the navigator to the center - i.e:

}).navGrid('#pager',{edit:false,add:false,del:false,search:false, position:'center'})....

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.

03/05/2010
15:46
Avatar
angelo.pellegrinon
Member
Members
Forum Posts: 5
Member Since:
21/04/2010
sp_UserOfflineSmall Offline

Thanks!

Is possible to have the buttons on left of the section with arrows where you choose page number?

Thanks Thanks

Angelo

Forum Timezone: Europe/Sofia

Most Users Ever Online: 994

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