title: Unnecessary horizontal scrollbar jqGrid
body: <p>In my jqGrid (using version 4.0.0), I get an unnecessary horizontal scrollbar but when there is a vertical scrollbar as well. This problem only occurs in Chrome and Firefox, but not in Internet Explorer.</p>
  
  <p>It seems as if there is something wrong with the calculation of the table width, because the horizontal scrolling is only one or two pixels. I use <code>autowidth: true</code> as table property for the width. There are about eight columns, some have a fixed width (very small), others have a dynamic width. </p>
  
  <p>Disabling horizontal scrolling at all is no solution, because users can still enlarge certain columns and then a horizontal scrollbar is needed. But initialy I want it to load with the columns aligned to the table width and a vertical scrollbar when needed to display the table on smaller screens.</p>
  
  <p>Below is an exerpt of the grid properties in the code</p>
  
  <pre><code>    $("#grid").jqGrid({
      datatype: 'json',
      mtype: 'POST',
      colNames:loadColumns(columns)[0],
      colModel:loadColumns(columns)[1],
      height: $(window).height() - 160,
      rownumbers: false,
      pager: '#pager',
      rowNum:25,
      rowList:[25,50,100],
      sortname: 'invid',
      sortorder: 'desc',
      viewrecords: true,
      autowidth: true,
      beforeSelectRow: function(){
          return false;
      },
  });
  </code></pre>