Results 1 to 4 of 4

Thread: How to support home/end keys as grid navigation

  1. #1
    Sencha User
    Join Date
    Jan 2016
    Posts
    6

    Default How to support home/end keys as grid navigation

    Hello everyone,
    I'm new using Extjs and I really really need to support the home/end keys in a grid navigation, how can I do it? Until this moment, I tried to program a itemkeypress event for the grid and compare with the home/end ascii but this doesn't work at all. Pls can anyone help me?

    Thanks in advance....

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    What are you needing to do with home and end. When I test the example on this doc page, the end key moves to the end of the row, and home brings it back to the first column. Is that not what you expected?
    http://docs.sencha.com/extjs/6.0/6.0...Ext.grid.Panel

  3. #3
    Sencha User
    Join Date
    Jan 2016
    Posts
    6

    Default

    Hello Gary Schlosberg and thanks for your reply, yes you are right, I tested it right now, as I said I'm really new on extjs . Well the problem is that I have a single column in my grid and my specs say that I need to support the home and end keys as follows: Home key goes to the fisrt element of the list and the End key goes to the last element of the list, it is possible to overrride the default behaviour of those keys for the grid? How this can be done?

    Thanks again for you reply

  4. #4
    Sencha Premium User abutnar's Avatar
    Join Date
    Dec 2015
    Location
    Cluj-Napoca, Romania
    Posts
    12

    Default

    Hello lisdey89,

    Did you manage to implement the feature? If yes, could you please share it?

Similar Threads

  1. Replies: 4
    Last Post: 14 May 2015, 1:38 PM
  2. [OPEN] Wrong selection in a grouped grid when using keys navigation
    By ateodorescu in forum Ext 5: Bugs
    Replies: 4
    Last Post: 23 Mar 2015, 11:56 PM
  3. Changing Grid Panel Navigation Keys?
    By fff398 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 3 Apr 2010, 5:28 PM

Tags for this Thread

Posting Permissions

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