title: How to get row count for jqGrid?
body: <p>I would like to know how to get row count for jqGrid. I'm using <code>rowNum: -1</code> so it displays all the rows. I tried using:</p>
  
  <pre><code>parseInt($("#grid").getGridParam("records"), 10)
  </code></pre>
  
  <p>But it always returns <code>0</code>.</p>
  
  <p>Thanks for the help.    </p>