解决方案 »

  1.   

    valueNotFoundText : String
    When using a name/value combo, if the value passed to setValue is not found in the store, valueNotFoundText will be displayed as the field text if defined. If this default text is used, it means there is no value set and no validation will occur on this field.
    是调用setValue时触发,不是你的store为空就显示那个值
      

  2.   

    shops_store配置
    listeners:{load:function(store){
      if(store.getCount()==0)alert('没有记录!');//或者改成你要的其他提示效果
    }}
      

  3.   

    我用你这种思路,但我是在combobox上配置的listeners:{
       focus:function(){         if(shops_store.getCount()==0){             this.Invalid("没有记录,请先添加门店!'");
            //alert('没有记录,请先添加门店!');//或者改成你要的其他提示效果
         }
       }
    }用Invalid(String)即可更改cobobox后面的错误提示信息