1. #1
    Ext User
    Join Date
    Sep 2008
    Posts
    27
    Vote Rating
    0
    rvillane is on a distinguished road

      0  

    Default How to set a default value for a comboBox ?

    How to set a default value for a comboBox ?


    When I'm loading a page with a comboBox, how do I mark an entry in the combo as selected ? I want the combo to remember the option selected previously by the user

    thanks

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    set the 'value' property to set the value. The OOTB template engine doesn't show if an item is selected or not.

  3. #3
    Ext User
    Join Date
    Sep 2008
    Posts
    27
    Vote Rating
    0
    rvillane is on a distinguished road

      0  

    Default


    It partially works, but I'm still missing something. I included this line:

    Code:
    combo.setValue('ME');
    but is displaying 'ME' in the label, not 'Maine'.

    Any idea ?

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