¡@

Home 

2014/10/16 ¤W¤È 12:05:08

jquery Programming Glossary: max_pagers

Add numeric pager to jqGrid

http://stackoverflow.com/questions/5800400/add-numeric-pager-to-jqgrid

' td ' class myPager nextPagesIncluded 0 totalStyle grid 0 .p.pginput false startIndex totalStyle this.p.page MAX_PAGERS 2 this.p.page MAX_PAGERS for i startIndex i this.p.lastpage totalStyle prevPagesIncluded nextPagesIncluded MAX_PAGERS 2.. nextPagesIncluded 0 totalStyle grid 0 .p.pginput false startIndex totalStyle this.p.page MAX_PAGERS 2 this.p.page MAX_PAGERS for i startIndex i this.p.lastpage totalStyle prevPagesIncluded nextPagesIncluded MAX_PAGERS 2 nextPagesIncluded MAX_PAGERS.. MAX_PAGERS 2 this.p.page MAX_PAGERS for i startIndex i this.p.lastpage totalStyle prevPagesIncluded nextPagesIncluded MAX_PAGERS 2 nextPagesIncluded MAX_PAGERS i if i 0 i this.p.page continue var link ' a ' href '#' click myPageRefresh link.text String..