tags:

views:

280

answers:

1

Is there a jqGrid method that will skip to the next/prev page of rows. I was trying to programmatically click the button itself with jQuery, but didn't succeed yet

+1  A: 

To go to page 123:

grid = $("#grid");
grid.setGridParam({
            page: 123
            }
        });
grid.trigger("reloadGrid");

NB: The grid behaves oddly if you go to a page for which there is no data.

Craig Stuntz
Can I find the current page number, so I can use N+1 as the next page number. Also how do I know how many pages are there in total
Ron Harlev