how to change jqgrid paging style

8.7k Views Asked by At

I want to change default pagination of jqgrid. I want the pagination as given below

1 2 3 4 5.. Next

Is it supported by default? How can i achieve that?

Thanks,

2

There are 2 best solutions below

4
daanl On BEST ANSWER

On the wiki it says you can create your own custom pager, you might take a look at this -> http://www.trirand.com/jqgridwiki/doku.php?id=wiki:pager

0
weilei On

I'm trying to do exactly same thing you want. sad to tell, the structure is hard coded. you have to rewrite the setPager() function by modifying the jqgrid source code. I mean it can't be down by overwrite some function.