{
fieldLabel : '项目类型',
name : 'project.proType',
id : 'proType',
xtype : 'combo',
triggerAction : 'all',
displayField : 'typeName',
valueField : 'id',
store: new Ext.data.Store({
autoLoad : true,
proxy : new Ext.data.HttpProxy({
url :__ctxPath+ '/project/listProjectType.do', // action中定义的方法
method : "post"
}),
baseParams:{
start : 0,
limit : 2500
},
reader : new Ext.data.JsonReader({
fields : ["id","typeName"],
root : "result",
id : "id"
})
}),
}
fieldLabel : '项目类型',
name : 'project.proType',
id : 'proType',
xtype : 'combo',
triggerAction : 'all',
displayField : 'typeName',
valueField : 'id',
store: new Ext.data.Store({
autoLoad : true,
proxy : new Ext.data.HttpProxy({
url :__ctxPath+ '/project/listProjectType.do', // action中定义的方法
method : "post"
}),
baseParams:{
start : 0,
limit : 2500
},
reader : new Ext.data.JsonReader({
fields : ["id","typeName"],
root : "result",
id : "id"
})
}),
}