Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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
    77
    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