Ext tab键事件和回车事件

时间:2014-08-07 12:37:29   收藏:0   阅读:671
 1 listeners: {
 2                          afterRender: function(thisForm, options){
 3                              this.keyNav = Ext.create(‘Ext.util.KeyNav‘, this.el, {
 4                                  enter: function(){//回车事件
 5                                      Ext.getCmp("codeInfoindex").focus(true);
 6                                  },
 7                                  tab:function(){//tab键事件
 8                                      Ext.getCmp("codeInfoindex").focus(true);
 9                                  },
10                                  scope: this
11                              });
12                          }
13                      }

 

Ext tab键事件和回车事件,布布扣,bubuko.com

原文:http://www.cnblogs.com/staryy/p/3896384.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!