Results 1 to 3 of 3

Thread: UP down Arrow key on Ext Grid Panel

  1. #1
    Ext JS Premium Member
    Join Date
    May 2008

    Default UP down Arrow key on Ext Grid Panel

    I have an Ext grid panel in a frame and it moves the row selection up and down when up and arrow button are pressed. But this doesn't work when grid does not have focus and arrow key is pressed in some other frame. I need to somehow manually move the cursor up and down and will appreciate if somebody can let me know what handler is called when arrow buttons are pressed so that I can directly call those handlers or just let me know some other approach to achieve this.


  2. #2


    Currently working on this, it seems hard, but I might not be looking at the right spot, if I figure it out I will let you know.

  3. #3


    This works for me:
    PHP Code:
     var map = new Ext.KeyMap("containerdivname", [
    fn: function(){ MyGrid.getSelectionModel().selectPrevious(); }
    fn: function(){ MyGrid.getSelectionModel().selectNext();}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts