1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    96
    Vote Rating
    0
    nanich is on a distinguished road

      0  

    Question IE script unresponsiveness alert in DualListField

    IE script unresponsiveness alert in DualListField


    I have a DualListField rendered in one of my pages and I need to load 1000+ items into each listField. Since GXT does lot of iterations while selecting/loading the items, I constantly get IE unresponsiveness alert.
    To solve this above issue, I tried to add items in chunks of 50 by using GWTs DeferredCommand. This solution too is not successful enough to solve the IE alert...

    Here is my code
    Code:
    public class MyDualListField
        extends LayoutContainer {
    
      private DualListField<ModelData> dualList;
    
      @Override
      protected void onRender(Element parent, int pos) {
        super.onRender(parent, pos);
    
        dualList = new DualListField<ModelData>();
        dualList.setFieldLabel("My Label");
        List<ModelData> models = new ArrayList<ModelData>();
        for (int i = 0; i < 1000; i++) {
          BaseModelData modelData = new BaseModelData();
          modelData.set("id", "id" + i);
          modelData.set("name", "name" + i);
          models.add(modelData);
        }
        ListField<ModelData> from = dualList.getFromList();
        ListStore<ModelData> fromStore = new ListStore<ModelData>();
        from.setDisplayField("name");
        from.setStore(fromStore);
        from.getStore().add(models);
    
        ListField<ModelData> to = dualList.getToList();
        ListStore<ModelData> toStore = new ListStore<ModelData>();
        to.setDisplayField("name");
        to.setStore(toStore);
        to.getStore().add(models);
    
        add(dualList);
      }
    }
    Any inputs ??
    Thanks,
    nanich

  2. #2
    Sencha User
    Join Date
    Dec 2007
    Posts
    96
    Vote Rating
    0
    nanich is on a distinguished road

      0  

    Default


    FYI, the initial rendering happens with out any issues. But the (selecting / moving from one list to another) more than 500 items creates the unresponsiveness. Can anybody help me on this ?
    Thanks,
    nanich

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi