When i’m using the parameter loadonce: true in my jqGrid, when I’m getting this json result:
{ page: 1, records: 10, rows: […], total: 2
jqGrid display a total of 1 page! But if I disable the loadonce option, the total of page is set to 2 and it’s perfect.
How can I make it works fine?
Thank you very much
I would say that this is by design. The definition of the
loadonceproperty, per the documentation is:so, when
loadonceis set to true, you will only load a single page from the server. The only data that is now available is that which was loaded, so there is no page 2.