title: Resize jqGrid based on number of rows? - Grid height?
body: <p>I have the same problem as detailed in the post <a href="https://stackoverflow.com/questions/1972806/">Resize jqGrid based on number of rows?</a></p>
  
  <p>Some of the suggestions (which seem totally logical) do not work because when I try to get the height of the grid using <code>var height = $("#TableId").height();</code> it returns what was set when setting up the grid, i.e. "100%"...</p>
  
  <p><strong>How do I get the height in pixels?</strong></p>