title: Grid stack items when I validate a form without changing the values
body: <p>Why when I open my form through a window and I change nothing and I agree, my grid item stacks instead of recharged my grid? but I change the values ​​of my form and I agree, my grid is reloaded correctly?</p>
  
  <p>Thanx in advance</p>
  
  <p>EDIT : Store.sync returns an error if you do not change the data</p>
  
  <p><a href="http://corto.vv.si/gridbug.jpg" rel="nofollow">The picture of the bug</a></p>
  
  <p>My code:</p>
  
  <pre><code>var modele = Modeles[activeTabParametresApplicatifs]; // Ex: Name
  var id = 'Id'+modele; // IdName
  var chaine = activeTabParametresApplicatifs; // TabNames
  var store = chaine.substr(3,chaine.length); // Names
  
  eval ('record = Ext.create(\'ModuleGestion.model.'+modele+'\');');
  eval ('store = this.get'+store+'Store()');
  
  var win    = button.up('window'),
      form   = win.down('form');
  record = form.getRecord();
  values = form.getValues();
  
  eval ('var id = values.'+id);
  
  
  
  if (form.isValid()) {
  
      if (id &gt; 0){
          record.set(values);
  
      } else{
          record.set(values);
          store.add(record);
  
      }
  
      store.sync({
          success : function() {
              store.load();
          }
      });
  
      win.close();
  
  }
  </code></pre>