title: How to refresh the data in a jqGrid?
body: <p>I have been trying to get a grid to be updated from the datasource when a button is pushed. </p>
  
  <p>So I have in the click event something like this:</p>
  
  <pre><code>$('#grid').jqGrid('trigger','reloadGrid');
  </code></pre>
  
  <p>However this does not work and I get an error thrown for unknown method 'trigger' </p>
  
  <p>I have also tried</p>
  
  <pre><code>$('#grid').jqGrid('trigger("reloadGrid")');
  </code></pre>
  
  <p>How would I execute this function? </p>