title: Jqgrid, additional white space when vertical scrolling is enabled
body: <p>I have an issue with my grid, after loading data and enabling vertical scroll, i find my grid loaded with additional space after the my rows. I want that removed, any idea why i am getting this ? </p>
  
  <p>This is my grid with the scroll bar
  <a href="https://i.stack.imgur.com/HCz2r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HCz2r.png" alt="My grid"></a></p>
  
  <p>This is the problem
  <a href="https://i.stack.imgur.com/W0slJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W0slJ.png" alt="enter image description here"></a></p>
  
  <p>I just want the scroll bar to stop at number 20, i don't want all that additional space.</p>
  
  <p>And this is my grid setting :</p>
  
  <pre><code>$html .=        '$("#'. $this-&gt;_name .'").jqGrid({';
          $html .=            'url:"tools/grid_server_calls.php",';
          $html .=            'datatype: "json",';
          $html .=            'autoencode: true,';
          $html .=            'mtype: "POST",';
          $html .=            'postData:{inputs:'. $this-&gt;_server_inputs .'},';
          $html .=            'gridview: true,';
          $html .=            'ignoreCase: true,';
          //$html .=          'loadui: "block",';
  
          $html .=            'hidegrid: false,';
  
          $html .=            'width: "' . $this-&gt;_width_grid . 'px",';
          $html .=            'forceFit: true,';
          $html .=            'pager: "#pager_'.$this-&gt;_name.'",';
          $html .=            'rowNum: ' . $this-&gt;_rowNum . ',';
          $html .=            'rowList: [' . $this-&gt;_rowList . '],';
  
          if( $this-&gt;_scroll_enabled ){
                  $html .=            'scroll: true,';
                  $html .=            'height: "230px",';
          }
          else{
              $html .=            'height: "auto",';
          }
  
          $html .=            'viewrecords: true,';
          $html .=            'emptyrecords:"'.$this-&gt;_message_no_records.'",';
          $html .=            'recordtext:"{0} - {1} / {2}",';
          $html .=            'altRows: true,';
          $html .=            'multiselect: "' . $this-&gt;_multiselect .'",';
          $html .=            'altclass: "color_line_grid",';
          $html .=            'caption: "' . $this-&gt;_caption . '",';
          $html .=            'colNames: [' . $this-&gt;_colNames . '],';
          $html .=            'colModel: [' . $this-&gt;_colModel . '],';
          $html .=            'sortname: "' . $this-&gt;_initialSort . '",';
          $html .=            'sortorder: "asc",';
  
          if(!$this-&gt;_search_enabled){
              $html .=            'pgbuttons: false,';
              $html .=            'pgtext: null,';
              $html .=            'rowList: [],';
              $html .=            'cmTemplate: {sortable:false},';
          }
  </code></pre>