Forum


12:48

10/03/2010

Hi ,
Thanks for the excellent help that you have been proving through this forum.
I am using JQGRID with the pager .
I want the prev and next buttons but i dont want to have the First adn Last buttons.
Is there anyway to have only Prev and Next buttons only in the pager ?
Iam also ok with hiding these two buttons selectively using a script on page load .
Can this be done?
12:41

Moderators
30/10/2007

Hello,
Yes this is possible.
The id's of these are first,next,prev,last and you can hide them.
Be a carfully, since if you have two grids they will be hidden in the both, or selectivley you can
$("#first",pagerid).hide()
Note that these id's will be changed into the future, since in the dom we should not have two elements with the same id.
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: 715
Currently Online:
8 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