title: How to clear a dojox.grid.DataGrid to Update the grid
body: <p>I have a grid filled with ajax, the user enters new data and call back to the ajax method that fills the grid, the problem I have is that the grid are duplicate data, I have tried before upgrading the grid to fill with a empty strore but does not work,</p>
  
  <pre><code>var gridColeccion = dijit.byId("colectionGrid");
  var dummy = {items: []};
  var newEventStoreColeccion = new dojo.data.ItemFileReadStore({clearOnClose:true,data:dummy});
  newEventStoreColeccion.fetch();
  gridColeccion.setStore(newEventStoreColeccion);
  gridColeccion._refresh();
  
  
      folderConsult(token); // This metod fill the grid again
  </code></pre>
  
  <hr>
  
  <p>// This is part of code in folderConsult;</p>
  
  <pre><code>  var datosColeccion = {
                  items:    itemsColeccion
          };
  
   var gridColecccion = dijit.byId("colectionGrid");  
   nuevasColecciones= new dojo.data.ItemFileReadStore({clearOnClose:true,data: datosColeccion});
   nuevasColecciones.fetch();
   gridColecccion.setStore(nuevasColecciones);
   gridColecccion._refresh();
  </code></pre>
  
  <p>I hope someone can help me, THX.</p>