Forum
Topic RSS
11:01
21/04/2010
OfflineHello,
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
13:28
Moderators
30/10/2007
OfflineHello,
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.
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66
Log In
Home