title: Clearing jqGrid before loading new data not working?
body: <p>Hi there ^_^ I have the following problem:</p>
  
  <p>I have a partial view with a jqGrid on it...and I use <code>bPopup</code> to display the partial view as a dialog.</p>
  
  <p>Now there is a list of items on the side of the view. When clicking on an item...the dialog is to be displayed with the table displaying the data relating to that response...</p>
  
  <p>Now the problem is that clicking on subsequent items; the data from the first item clicked is still showed...so I thought that simply calling </p>
  
  <pre><code>$("#ListDialogTable").jqGrid("clearGridData");
  </code></pre>
  
  <p>will clear the data and allow me to display the new data...but now when I try to show the dialog in subsequent clicks...only the table headers are shown...no data!</p>
  
  <p>Any ideas and help on this appreciated :)
  D</p>
  
  <p>P.s. some code; the method below is called by method <code>ShowListDialog</code></p>
  
  <pre><code>function PopulateTable(model) {
      $("#ListDialogTable").jqGrid("clearGridData");
      $("#ListDialogTable").jqGrid({
          jsonReader:
          {
              root: "rows",
              page: "page",
              total: "total",
              records: "records",
              repeatitems: true,
              cell: "cell",
              id: "id"
          },
  
          colNames: model.columnN,
          colModel: model.columnM,
  
          datatype: "jsonstring",
          datastr: model.columnD,
  
          sortname: model.sortName,
          sortorder: "asc",
  
          autowidth: true,
          celledit: false,
          gridview: true,
          height: "auto",
          hoverrows: false,
          shrinkToFit: true,
          rowNum: 999,
          viewrecords: true
      });
  }
  </code></pre>