Is it posible to change grid\'s store in ExtJS 4?
For example, i have two models:
User = Ext.define(\'User\',{
extend: \'Ext.data.Model\',
[...],
h
Abdel Olakara's answer helped me out when I needed to update data on something that didn't have reconfigure (custom class inheriting from Ext.form.FieldSet).
But you don't need to specify addRecords or the range for getRange, because the defaults have us covered in this case.
This means you can do:
myStore = user.products();
grid.getStore().loadRecords(myStore.getRange());