Is it possible to start from page=0 in a jqGrid?
I am working with data that is out of my control and when i request page 1 I actually get page 2 from the server, so therefore I am looking for some way to actually request page 0.
As far as i can see, setting the page parameter in the jqGrid options to zero has no effect. When inspecting the request the page parameter is still 1.
I have also tried to change the page parameter later on after initialization. This sets the page to 1:
grid.setGridParam({page:0}).trigger('reloadGrid');
This on the other hand sets page successfully to 5 in the request:
grid.setGridParam({page:5}).trigger('reloadGrid');
I guess there is some check against requesting page 0 but any ideas on how to work around this?