EXT学习之——Extjs 文本框 TextField 添加点击(onclick)事件方法

{    
  xtype:'textfield',  
  listeners: {  
   render: function(p) {  
      // Append the Panel to the click handler's argument list.  
     p.getEl().on('click', function(p){  
                //处理点击事件代码  
      });  
  },  
}

  

原文地址:https://www.cnblogs.com/wdw31210/p/6061873.html