title: JQGrid: Resize Grid Width After Column Resized
body: <p>I would like to resize the width of the grid after a column is resized (so the width of the grid will match the sum of the widths of the columns, including the new width of the resized column).  This should prevent the horizontal scrollbar from appearing as well.</p>
  
  <p>This is sort of similar to <a href="https://stackoverflow.com/questions/6550507/triggering-resize-of-jqgrid-after-user-shows-hides-columns">this question</a>, where in addition to the grid resizing after hiding/showing columns, I would like it to resize when expanding/shrinking columns:</p>
  
  <p>If you look at the <a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithColumnChooser1.htm" rel="nofollow noreferrer">the demo</a> in <a href="https://stackoverflow.com/questions/6550507/triggering-resize-of-jqgrid-after-user-shows-hides-columns">the question</a> provided by @Oleg, you can see that the grid does not resize upon the resize of a column.</p>
  
  <p>There is a <code>resizeStop</code> event I could maybe use, and then use the method <code>setGridWidth</code> to set the grid to the width of the sum of the widths of the columns.  I'm not sure how to sum the widths of the columns though...Maybe there is something built into JQGrid that I could use to do this easily?</p>
  
  <p>Thank you so much for any advice!</p>