View Full Version : TreeView Keyboard Navigation Issue

22 Mar 2007, 8:45 AM
Hi All,

First I want to say how cool the Ext TreeView is. Simply awesome!
My issue is this...after the tree is created I am unable to navigate through it using the keyboard until I have expanded or collapsed any node using the mouse by clicking on the + or - icon.

Any ideas?


22 Mar 2007, 4:28 PM
because it does not have the keyboard focus

try to either select the first child of your treeobj or call Ext.Element's focus() method

22 Mar 2007, 4:56 PM
Thanks papasi, that worked. But I'm a little confused as to why it is necessary. Is it because clicking the +/- gives the tree the focus, but clicking a node does not?

Thanks again.