EXT JS 4: BIND KEYS TO A FORM
Here is one way to bind a key to a form/component/element in Ext JS 4. The link below also shows examples of key bindings when using MVC.
1
2
3
4
5
6
7
8
9
10
11
12
13
| Ext.define( 'My.App.QuickFindContainer' , { extend: 'Ext.container.Container' , alias: 'widget.quickfindcontainer' , //all the needed configs, items and initComponent afterRender: function () { this .callParent(arguments); this .nav = Ext.create( 'Ext.util.KeyNav' , this .el, { enter : this .doFind, scope: this }); } }); |
Version Info:
Ext JS 4.1.1
Ext JS 4.1.1
Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from javascript and jquery training in chennai . or learn thru Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. javascript and jquery training in chennai
ReplyDelete