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

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