1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    3
    Vote Rating
    0
    anoops is on a distinguished road

      0  

    Default Unanswered: How to click check box items in the CheckBox ListView at runtime

    Unanswered: How to click check box items in the CheckBox ListView at runtime


    Could anyone please explain how can we click the few check box items at runtime using a bean model.
    Code:
           view = new CheckBoxListView<PermissionProxy>() {
                @Override
                protected PermissionProxy prepareData(PermissionProxy model) {
                    String s = model.get("name");
                    //model.set("name", Format.ellipse(s, 15));
                    return model;
                }
            };
    
    
            view.setStore(permissionStore);
            view.setDisplayProperty("name");
            
            view.setWidth(150);
            view.setHeight(200);
    Tried to check the boxes after rendering this by

    Code:
    List<PermissionProxy> p = data.getPermissions();
            Iterator<PermissionProxy> it = p.iterator();
            while(it.hasNext()){
                PermissionProxy tp = it.next();
                PermissionProxy temp = (PermissionProxy) permissionStore.findModel("name",   tp.getName().toString());
                
                view.setChecked(temp, true);
    }

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    3
    Vote Rating
    0
    anoops is on a distinguished road

      0  

    Default


    Asynchronous call was causing the issue. This has been resolved now.

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