Ext.onReady(function(){
Ext.QuickTips.init();
    function getdata()
    {
      var dataGroup=[];
             CountryDAO.getListCountry(function (list){
              for(var i =0 ;i<list.length;i++)
              {
              dataGroup[i]=list[i];
              }
    });
     return dataGroup;
    }

        var comboCountryStore = new Ext.data.Store({
        proxy: new Ext.data.MemoryProxy(getdata()), 
     reader: new Ext.data.JsonReader({fields:Country})
});
var combo = new Ext.form.ComboBox( {
store : comboCountryStore,
displayField : 'enname',
valueField:'enname',
typeAhead : true,
//mode : 'local',
forceSelection : true,
triggerAction : 'all',
emptyText : 'Select a state...',
selectOnFocus : true

});
comboCountryStore.load();
combo.render('countryDIV');
问题是的下拉菜单中我输入一个字母A的时候,回唰选出第一个字母为A的单词