1、保证store定义是否在combobox前面2、有没写 .load3、有没赋值 xxstore:xxstore
//默认第一个下拉框绑定值if (this.moduleCombo.store.getAt(0) != undefined) { this.moduleCombo.setValue(this.moduleCombo.store.getAt(0).get('ID')); }
A 的js访问 B的js,并将A选择的guid的行传到 B的 js进行处理事项 A 的js 的写法var receiverFrom = new xxx.xxx子js方法体名 ({parentCmp: _this, patientName: IN_ORG_ID: _this.grid.getSelectionModel().selected.items[
/*******步骤有四个,缺一不可*********/function () {xxxxxx = Ext.extend(construct, {InitControl: function () { var _this = this;/*****************步骤一:建数据store ******************///一级下拉框数据(此处注意,一定要把store写在combob
//申请科室var comboboxdept = new Ext.form.ComboBox({xtype: "combobox",name: "Gender",fieldLabel: "申请科室",columnWidth: .271,labelAlign: 'right',labelWidth: 60,id: this.namespace + '_deptCombo',store:
{ xtype:'textfield', listeners: { render: function(p) { // Append the Panel to the click handler's argument list. p.getEl().on('click', function(p){
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号