Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Threaded View

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    White Rock, BC Canada
    Posts
    161
    Answers
    11
    Vote Rating
    0
    WagsMax is on a distinguished road

      0  

    Default Answered: Re-loading a store takes forever///

    Answered: Re-loading a store takes forever///


    When loading a store of about 400 records this code gets executed in the blink of an eye:
    Code:
    // initially load the store
    var contactTypesStore = Ext.create('AtmGo.store.ContactTypes');
    Ext.Object.each(responseJSON.rx.contact_types, function(key, value) {
    	contactTypesStore.add(Ext.create('AtmGo.model.ContactTypes', value));
    });
    contactTypesStore.sync();
    later, after adding a record and getting new data to replace the store, this code takes about 15 secs, long enough to be annoying, and I imagine it will get longer with a larger number of records:
    Code:
    // update the store
    backingStore.removeAll();
    Ext.Object.each(responseJSON.rx.contact_types, function(key, value) {
    	backingStore.add(Ext.create('AtmGo.model.ContactTypes', value));
    });
    backingStore.sync();
    Any ideas as to why this takes so long, and how I can fix it?

  2. Yes!! loadData fixed it... thank you

Thread Participants: 1