码迷,mamicode.com
首页 > 其他好文 > 详细

Ext tab键事件和回车事件

时间:2014-08-07 12:37:29      阅读:272      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   io   for   cti   div   log   

 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

Ext tab键事件和回车事件

标签:style   blog   color   io   for   cti   div   log   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!