1. #1
    Ext User
    Join Date
    Apr 2009
    Posts
    31
    Vote Rating
    0
    sundhar_v is on a distinguished road

      0  

    Wink Simple Commbo Box

    Simple Commbo Box


    Can any one help me how to implement a simple combo box in EXT GWT with hard coded value inside the combo box. I am a beginner.

    Thanks and Regards,
    Sundhar

  2. #2
    Ext User Binu VM's Avatar
    Join Date
    Jul 2009
    Location
    bangalore
    Posts
    3
    Vote Rating
    0
    Binu VM is on a distinguished road

      0  

    Default


    you need to update the ListStore. You can try in the following way.

    ListStore<State> states = new ListStore<State>();
    states.add(new State("B","Binu","Employee"));


    thanks
    Binu.V.M

  3. #3
    Ext User
    Join Date
    Apr 2009
    Posts
    31
    Vote Rating
    0
    sundhar_v is on a distinguished road

      0  

    Wink Simple Combo Box

    Simple Combo Box


    I tried with your guidelines, but it is not working can you pl. send me the samples. It is showing some red mark (ListStore cannot be resolved to a type) similarly state also. so kindly help me how to create combo box.

    Thanks and Regards,
    Sundhar

  4. #4
    Ext User Binu VM's Avatar
    Join Date
    Jul 2009
    Location
    bangalore
    Posts
    3
    Vote Rating
    0
    Binu VM is on a distinguished road

      0  

    Default


    that means ListStore and State is not in your classpath. ListStore comes with gxt.jar file
    and State class you will get from the Model package. You will get it from the ext gwt exampels.

    thanks
    binu.v.m

  5. #5
    Ext GWT Premium Member
    Join Date
    Jul 2009
    Posts
    23
    Vote Rating
    0
    alexmat is on a distinguished road

      0  

    Default


    Try something like this:

    Code:
    SimpleComboBox<String> combo = new SimpleComboBox<String>(); 
    combo.add("Some Option");
    combo.add("Another Option");

  6. #6
    Ext User
    Join Date
    Apr 2009
    Posts
    31
    Vote Rating
    0
    sundhar_v is on a distinguished road

      0  

    Default simple combo box

    simple combo box


    Ya thanks a lot this works fine

    Thanks and Regards,

    Sundhar

Thread Participants: 2

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