So in order to do that i need to remove pager:
value in grid declaration and i need to set maximum rows number to rowNum: 100000000,
, according with that post How to show all rows in the jqGrid?
But what about json which i need to return from server,
var jsonData = new
{
total = totalPages,
page = page,
records = totalRecords,
rows = ...
}
Which values better to assign to page
and totalRecords
in that case?
Should i better pass them as zeroes or it is doesn't mater at all in such case?
UPDATE:
I think i would set records
to total number rows that will go to jason, and page
and total
i will set to 1
What do you think? Anymore i can do to correctly turn off jqGrid paging?