1. #1
    Sencha User
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    27
    Vote Rating
    0
    Drake is on a distinguished road

      0  

    Default combo box standard values

    combo box standard values


    Hello,
    Having a form including a textbox and two combo boxes leads to the following behavior:
    I need to set some standard values for the combo boxes. The only way I found to do this easily was using the dom options:
    Code:
    Ext.get('combo').dom.setValue("standardValue");
    Ext.get('combo').dom.select(0,false);
    When I reload the page, the standard values are presented in the boxes and the focus is laid to the first one.
    As soon as I click somewhere on the page, it looses its focus and the values disappear.

    Is there any trick to overcome this problem easily?

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    86
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Code:
    Ext.getCmp('combo').setValue('standardValue');

  3. #3
    Sencha User
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    27
    Vote Rating
    0
    Drake is on a distinguished road

      0  

    Default


    Thanks a lot! Last time I tried it didn't transfer the value. But now it works! Thanks again!

Similar Threads

  1. multiple values in a combo box
    By dlstrawn in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 3 May 2010, 8:12 AM
  2. Access combo box values
    By noah977 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 4 Mar 2008, 2:09 PM
  3. default values in combo box?
    By trickytoad in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 27 Feb 2008, 5:44 AM
  4. [2.0a] Combo Box Values
    By jakehawk in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 10 Oct 2007, 6:54 AM
  5. [2.0a] Combo Box Values
    By jakehawk in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 9 Oct 2007, 10:12 AM

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