EXT 组件添加 监听器

new Ext.form.TextField({
     name : "tqTitle",
     fieldLabel : "xxxxxxx",
     width : 134,
     anchor : "60%",
     readOnly : true,
     listeners : {
      scope : this,
      "change" : function(formField, newValue, oldValue) {
       this.insertChangeDetail(null, formField.name,formField.fieldLabel, oldValue, newValue);
      }
     }
    });

你可能感兴趣的:(function,ext,null)