52,797
社区成员
发帖
与我相关
我的任务
分享
var cbStore = new Ext.data.Store({
autoLoad: false,
proxy: {
type: 'ajax',
url: 'cb.ashx',////////你的动态页
reader: {//注意配置reader
type: 'json', root: 'd'
}
},
fields: ['value', 'text']
});
{
editor: new Ext.form.field.ComboBox({
typeAhead: true,
triggerAction: 'all',
lazyRender: true,
store: cbStore /////////
listeners: { beforeedit: function (editor, e, eOpts) {
//注意修改省id字段名称
cbStore.reload({ params: { proid: e.record.get('proid')} });
}