2019独角兽企业重金招聘Python工程师标准>>>
使用下拉列表框的二级联动获取数据,如果第一个下拉列表框有默认值时,需要设置fireEvent执行select事件
示例:
var combo = Ext.getCmp("modifyBuildCom");
combo.setValue(record.get('buildingName')).fireEvent('select',combo,combo.getStore().findRecord(' name',combo.value));