title: jqGrid make rowNum depend on vertical grid y-size
body: <p>I have jqGrid which size is dynamically calculated on window resize as follows:</p>
  
  <pre><code>$(window).bind('resize', resizeTable);
  function resizeTable(){
      $("#jqGrid")
          .setGridWidth($("#tableHolder").innerWidth()),
          .setGridHeight($("#tableHolder").innerHeight());
  };
  </code></pre>
  
  <p>Having constant rowNum, scroll bar appears on grid if y-size isn't enough to hold given number of rows.</p>
  
  <p>I want rowNum to be calculated automatically to display only rows which fit in a visible area of the grid and make others move to next pages and have no scroll bar. Is that possible?</p>