title: jqgrid not updating local data
body: <p>I have jqgrid , which I call everytime whenever dropdown changes .
  But issue is that jqGrid only shows data loaded for first time , after that When I call same function with new data set { array of objects } , it does not updates itself.  Below is the code :</p>
  
  <pre><code>  function loadGrid(colModel, data1) {
    var grid = $("#gridJQ");
    grid.jqGrid({
        datatype: "local",
        viewrecords: true,
        data: data1,
        height: "auto",
        rowNum: 5,
        autowidth: false, // set 'true' here
        rownumbers: true, // show row numbers
        rownumWidth: 25,
        colModel: colModel,
        pager: "#jqGridPager",
        height: "auto",
        caption: "Load jqGrid through Javascript Array",
    }).trigger("reloadGrid");  }
  </code></pre>
  
  <p>I checked values of col model and data1 , it changes everytime , but grid does not reflect changes .</p>