当前位置:编程学习 > JS >>

ext combox 下拉框不出现自动提示解决方法

 代码如下 复制代码

var comboxContractType = new Ext.form.ComboBox({
name:'logisticsId',
fieldLabel:'物流公司',
displayField:'logisticsName',
valueField:'logisticsId',
emptyText:'请选择',
width:330,
editable:true,
allowBlank:false,
mode:'local',
loadingText:'loading...',
hiddenName:'logisticsId',
//pageSize:10,
selectOnFocus: true,
triggerAction:'all',
store:comboxContractTypeStore = new Ext.data.JsonStore({
url:'/pcms/dictionary/logistics.do?method=findLogistics',
root:'Datas',
totalProperty: 'TotalRecords',
fields:[
{name:'logisticsId', mapping:'logisticsid'},
{name:'logisticsName', mapping:'shortname'}
]
})
});
comboxContractTypeStore.load({params:{start:0,limit:100}});
补充:网页制作,js教程 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,