View Full Version : keyboard navigation for tree panel....

8 Apr 2011, 1:55 AM
hi guys...
i'm very new to extjs...i'm badly in need for keyboard navigation in a treepanel...:-/

can someone plz give an example for setting keyboard navigation keys for a tree panel...

thank you very much in advance.....:-/

8 Apr 2011, 7:43 AM
Please post in the correct forum and do not post the same question in multiple places.


8 Apr 2011, 8:22 AM
What do you mean by "keyboard navigation"? That's a bit vague.

Have you looked at the keys (http://dev.sencha.com/deploy/dev/docs/?class=Ext.tree.TreePanel) config option, e.g.,

var tree = new Ext.tree.TreePanel({
// ...
keys: {
key: 27, // Esc key
handler: function(){ console.log('ESC pressed'); },
scope: this

9 Apr 2011, 1:01 PM
sure tyran...i am new to the forum...so i didnt knew whr to post...thanks for the advice...

9 Apr 2011, 1:08 PM
hi fay....
actually i mean key navigation....i have seen keys....
i need to get the focus on the root node when i press alt+t+p....and move down to child nodes when i press down arrow...
can u plz help me with tht....(i need to do this stuff without using mouse..)