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
    Sencha User
    Join Date
    Apr 2008
    Posts
    18
    Vote Rating
    0
    mmiotk is on a distinguished road

      0  

    Default ComboBox - how to set the default item in the field?

    ComboBox - how to set the default item in the field?


    How can I set the default value from ComboBox.
    I try:

    a) call ComboBox: : select(5)
    b) call ComboBox: : setValue("MyItemLabel");
    c) call ComboBox: : setValue(new CDCBaseModel("MyItemLabel")); where CDCBaseModel extends BaseModel and overrides hashCode() and equals()

    but these variants doesn't give any effects.

    (I work with Firefox browser)
    Last edited by mmiotk; 24 Apr 2008 at 6:55 AM. Reason: smiles

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    There was a bug in setValue that has been fixed. You can pass a record that is in the store or text that will match the value field of a record in your store. Fix is in SVN.

Thread Participants: 1