mardi 1 avril 2014

ext window object on store record

Hi. Let's say that i have a store with some records. I iterate all records to "inject" a Ext.Window object on earch record, like this:



records[i].windowObject = Ext.create('Ext.window.Window', {...});



Right now, i make sure that i close all window objects before remove all records on the store:



records[i].windowObject.close();

...

store.removeAll();



If i skip the window close() step, and only remove all records from the store, all the window objects will be kept alive?




Aucun commentaire:

Enregistrer un commentaire