1. #11
    Ext User
    Join Date
    Aug 2007
    Posts
    60
    Vote Rating
    0
    mscdex is on a distinguished road

      0  

    Default


    Is there a way to update this combo's array-based store later on after definition, to refresh its data with another array? Perhaps there is a pre-existing Ext.form.ComboBox method I am missing.

  2. #12
    Ext User
    Join Date
    Jul 2008
    Posts
    29
    Vote Rating
    0
    masuran is on a distinguished road

      0  

    Default


    Suppose I have this example:
    Code:
    {
                    xtype:"combo",
                    fieldLabel:"Betaald",
                    store:[['','Maybe'],['0','Yes'],['1','No']],
                    name:"filter_betaald",
                    id: "filter_betaald"
    }
    Can anyone tell me how I can get the non-text value of this combobox? Here I have three options but instead of getting the selected value 'Yes' I want to get the value '0'.
    Last edited by mystix; 14 Jul 2008 at 12:02 AM. Reason: post code in [code][/code] tags. refer to http://extjs.com/forum/misc.php?do=bbcode