1. #1
    Ext GWT Premium Member
    Join Date
    Aug 2011
    Location
    Germany
    Posts
    30
    Vote Rating
    0
    Ceene is on a distinguished road

      0  

    Default Answered: select a item in a ComboBox

    Answered: select a item in a ComboBox


    Hey

    I have a problem with my ComboBox. In my ComboBox are two rows and I would like to select manualy the second row. I tried it with comboBox.select(1) but it doesn't work.

    Code:
     
    privat
    List<ComboMultiSign> getComboEintrag() { List<ComboMultiSign> plants = new ArrayList<ComboMultiSign>(); plants.add(new ComboMultiSign("J", "Ja")); plants.add(new ComboMultiSign("N", "Nein")); return plants; }


    Code:
     
    ListStore<ComboMultiSign> multi =
    new ListStore<ComboMultiSign>();
    multi.add(getComboEintrag());
    cbMultiSign.setStore(multi);
    cbMultiSign.select(1);
    
    Where is my mistake?

  2. Code:
    cbMultiSign.setValue(cbMultiSign.getStore().getAt(1));

  3. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Code:
    cbMultiSign.setValue(cbMultiSign.getStore().getAt(1));

  4. #3
    Ext GWT Premium Member
    Join Date
    Aug 2011
    Location
    Germany
    Posts
    30
    Vote Rating
    0
    Ceene is on a distinguished road

      0  

    Default


    Thanks a lot. Wonderful.

Thread Participants: 1

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