1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    118
    Vote Rating
    0
    plitvak is on a distinguished road

      0  

    Default Ability to use ComboBox in unbound mode.

    Ability to use ComboBox in unbound mode.


    It appears that right now one cannot use ComboBox in unbound mode. There is no add(item) method as well as getSelectedItem().

  2. #2
    Sencha User
    Join Date
    Apr 2008
    Posts
    18
    Vote Rating
    0
    mmiotk is on a distinguished road

      0  

    Default


    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:59 AM. Reason: smiles

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

      0  

    Default


    plitvak - The combo drop down list only works with a store. You cannot add values directly to the combo. You can then use getValue or getSelectedRecord to get the selection.

  4. #4
    Ext User
    Join Date
    Apr 2008
    Posts
    118
    Vote Rating
    0
    plitvak is on a distinguished road

      0  

    Default


    Yes, I know that what I was wondering is that if you are planning on changing this to allow some sort of add(Item) method so that this control could be use with different than Store types of data sources.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar