Ho to all. I`m new in ext programming but i have a task that i have to do.
I have a JSON code and with dropdown menuwhen is select the current value to draw in grid data for that value.
I make the comboBox get the unique values, but now i have problem with listenera. How to configurate it ?
Code:
 // Create the combo box, attached to the states data store    Ext.create('Ext.form.ComboBox', {
    fieldLabel: 'Choose CountryCode',
    store: states.collect('CountryCode'),
    queryMode: 'local',
    valueField: 'CountryCode',
    renderTo: Ext.getBody(),
    displayField: 'CountryCode',
    listeners:{
         scope: this, // Important. Ensure "this" is correct during handler execution
        'select': function(combo, records, eOpts) {
        ????
        }); 
    }