1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    5
    Vote Rating
    0
    athadu is on a distinguished road

      0  

    Default keyboard navigation for tree panel....

    keyboard navigation for tree panel....


    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.....

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    3
    tryanDLS is on a distinguished road

      0  

    Default


    Please post in the correct forum and do not post the same question in multiple places.

    http://sencha.com/learn/Ext_Forum_Help

  3. #3
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750
    Vote Rating
    9
    fay will become famous soon enough fay will become famous soon enough

      0  

    Default


    What do you mean by "keyboard navigation"? That's a bit vague.

    Have you looked at the keys config option, e.g.,

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

  4. #4
    Sencha User
    Join Date
    Mar 2011
    Posts
    5
    Vote Rating
    0
    athadu is on a distinguished road

      0  

    Default


    sure tyran...i am new to the forum...so i didnt knew whr to post...thanks for the advice...

  5. #5
    Sencha User
    Join Date
    Mar 2011
    Posts
    5
    Vote Rating
    0
    athadu is on a distinguished road

      0  

    Default


    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..)

Similar Threads

  1. [CLOSED]Tree Keyboard Navigation
    By tz22 in forum Ext:Bugs
    Replies: 1
    Last Post: 5 Apr 2011, 12:37 PM
  2. Ext.Tree keyboard navigation problems with IE7
    By dende1979 in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 21 Jan 2009, 6:32 AM
  3. Keyboard navigation in Tree
    By psambhus in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 14 Apr 2008, 11:54 PM
  4. Replies: 5
    Last Post: 7 Mar 2007, 3:15 AM

Thread Participants: 2

Tags for this Thread