Results 1 to 5 of 5

Thread: Wrong selection in a grouped grid when using keys navigation

    You found a bug! We've classified it as EXTJS-16483 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium User
    Join Date
    Dec 2009
    Location
    Iasi, Romania
    Posts
    159

    Default Wrong selection in a grouped grid when using keys navigation

    This bug is pretty easy to reproduce in all 5.x versions. Let's take this example:http://dev.sencha.com/ext/5.1.0/exam...mary-grid.html

    Steps to reproduce:
    - Collapse all groups except for the first one.
    - Select the first record of the first group.
    - Press Alt+End to jump to the last record of the last group.
    - Press PageDown and the selection will jump 4 records up.

    Didn't test with the other selection models.

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

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium User
    Join Date
    Dec 2009
    Location
    Iasi, Romania
    Posts
    159

    Default

    I believe that selection models should be improved to work with group selection too. When navigating with keys, selecting a group and pressing RightArrow/LeftArrow key could expand/collapse that group. Pressing PageDown/Up would select a group instead of a record in a collapsed group. At least this is how grids on desktop applications work.
    This way the users would be able to fully navigate a grid only by using keys without any mouse help.

  4. #4
    Sencha Premium User
    Join Date
    Dec 2009
    Location
    Iasi, Romania
    Posts
    159

    Default

    Here is another test case for the same example:
    - collapse all groups except for the last one
    - select last record of that expanded group
    - press PageUp and the selection will go to the first record of the first group. The 2nd group remains collapsed.

  5. #5
    Ext JS Premium Member devtig's Avatar
    Join Date
    Jan 2010
    Location
    Rotterdam, The Netherlands
    Posts
    422

    Default

    This may be related to:
    Christiaan Westerbeek @ Devotis
    Contact me for help with Ext JS, Node JS, FireBase, AngularJS and Javascript in general. Email me or find me at AirPair to connect.

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
  •