Hello All,
I have a ComboBox (sample code attached below) with three options to select from. Again, when I press the down arrow key on the drop down list the options are changing. What I want is when the last(3rd) option is selected and down arrow key is pressed the last(3rd) option should remain selected in spite of the first option(its looping back to the first option). Similarly when the first option is selected and up arrow key is pressed, I don't want EXT to select the last option but I want it to keep the first option selected. Please confirm if its is possible and how it can be done.
Thanx a lot.. 
Code:
// The data store containing the list of states
var states = Ext.create('Ext.data.Store', {
fields: ['abbr', 'name'],
data : [
{"abbr":"AL", "name":"Alabama"},
{"abbr":"AK", "name":"Alaska"},
{"abbr":"AZ", "name":"Arizona"}
//...
]
});
// Create the combo box, attached to the states data store
Ext.create('Ext.form.ComboBox', {
fieldLabel: 'Choose State',
store: states,
queryMode: 'local',
displayField: 'name',
valueField: 'abbr',
renderTo: Ext.getBody()
});