Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TreeGrid.setArrowKeyAction("focus") mistakes arrow key expanding and collapsing tree

    Hi,

    There is a conventional navigation for tree pressing cursor arrow key:
    Left: collapse folder
    Right: expand folder
    Up: move to previous item
    Down: move to next item
    It works OK for default settings as in showcase example Tree/Interaction/Drag Reparent.

    Please insert following line before draw() at the end of sample code.
    Then Up and Down work OK, but Left and Right only sometimes, e.g. after pressing Enter.
    Code:
    employeeTreeGrid.setArrowKeyAction("focus");
    SmartGWT Version: 4.1d BuildDate: Mon Oct 14 09:59:00 CEST 2013

    We would like avoid the selection event, so we think about only focus, but with full navigation.
    Is there a unique "focus" solution with arrows but without pressing Enter?

    Regards
    Béla

    #2
    We've made a change to improve handling of Left / Right arrow keys when ArrowKeyAction is set to "focus".
    We may be making some more minor changes in this area gong forward, but regardless, give it a try with the next nightly build (Nov 12 or above), and let us know if you run into any problems

    Regards
    Isomorphic Software

    Comment


      #3
      Retested, ArrowKeyAction "focus" works OK. Thank you.
      SmartGWT Version: 4.1d BuildDate: Sun Nov 17 11:15:00 GMT+100 2013 and also 4.1p pro OK.

      Comment

      Working...
      X