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