title: Extjs 4.2 edit store data in controller
body: <p>I have a grid which data I fill manually with data from other store:</p>
  
  <pre><code>fillfunction:function(){
      var Store=Ext.ComponentQuery.query('#grid')[0].getStore();
      var Store2=Ext.ComponentQuery.query('#grid2')[0].getStore();
      Store.each(function(record){
          var record=Ext.create('App.model.record');
          record.data['Referencia_proveedor']=record.data['codigo_erp_producto'];
          record.data['Especialidad']=record.data['nombre_comercial_1'];
          record.data['Presentacion']=record.data['forma_presentacion'];
  
  
          record.data['Porc_real_decreto']=record.data['porcentaje_real_decreto'];
          record.data['ADJ']=false;
          Store2.add(record);
      });
  }
  </code></pre>
  
  <p>This grid has <strong>selType: 'checkboxmodel'</strong>, And I have a button that changes data['ADJ'] from store(in the model this column type is boolean) from false to true.
  I edit the data with the next code:</p>
  
  <pre><code>changeValue:function(){
      var selection=Ext.ComponentQuery.query('#grid2')[0].getSelectionModel().getSelection();
      for (i = 0; i &lt; selection.length; i++){
          var index=Ext.ComponentQuery.query('#grid2')[0].getStore().indexOf(selection[i]);
          var record=Ext.ComponentQuery.query('#grid2')[0].getStore().getAt(index);
          record.set('ADJ',true);
      }
  
      var total=Ext.ComponentQuery.query('#grid2')[0].getStore().count();
      var alterstore=Ext.ComponentQuery.query('#grid2')[0].getStore().getRange(0,total);
      Ext.ComponentQuery.query('#grid2')[0].getStore().loadRecords(alterstore,{addRecords: false});
  }
  </code></pre>
  
  <p>If I print again the store de value of ADJ is updated,but in the grid is still the old value.How can I update the grid to see the new value?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>My grid code</p>
  
  <pre><code>var panel1=new Ext.grid.Panel({
          itemId:'panel1',
          flex:3,
          store: store,
          title:'&lt;span style="color:blue"&gt;Title 1&lt;/span&gt;',
          scroll:'vertical',
          stripeRows: true,
          selModel: {
              selType: 'checkboxmodel'
          },
          bbar:{
              xtype: 'container',
              layout: 'anchor',
              items: [bottombar0]
          },
          loadMask: true,
          columns:{
              items:[
  
                     {header:'&lt;span&gt;R&lt;/span&gt;',dataIndex:'Referencia_proveedor',itemId:'',flex:1},
                     {header:'&lt;span&gt;A&lt;/span&gt;',dataIndex:'Especialidad',itemId:'',flex:3},
                     {header:'&lt;span&gt;P&lt;/span&gt;',dataIndex:'Presentacion',itemId:'',flex:1},
                     {header:'&lt;span&gt;U&lt;/span&gt;',dataIndex:'',align:'right',itemId:'',flex:1,renderer:Unidades},
                     {header:'&lt;span&gt;PVL&lt;/span&gt;',dataIndex:'',align:'right',itemId:'',flex:2,renderer:Moneda},
                     {header:'&lt;span&gt;RD&lt;/span&gt;',dataIndex:'Porc_real_decreto',align:'right',itemId:'',flex:1,renderer:Porcentaje},
                     {header:'&lt;span&gt;ADJ&lt;/span&gt;',dataIndex:'',align:'center',itemId:'',flex:1,renderer:adjudicado}
              ]
          }
      });
  </code></pre>