so I have an xtype (extending grid) that has no store defined. in the controller I do a
and now that grid is bound to that store as expected. but other references of that xtype are not.
I understand why. I want to know if there is a way of doing it with out creating a for loop of the
Code:
grid.bindStore(store);
and now that grid is bound to that store as expected. but other references of that xtype are not.
I understand why. I want to know if there is a way of doing it with out creating a for loop of the
Code:
Ext.ComponentQuery.query('mygrid')[i].bindStore(store);
Aucun commentaire:
Enregistrer un commentaire