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

  • Post author:
  • Post category:其他


{    
  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