ICEfaces
  1. ICEfaces
  2. ICE-8151

Add support for modifier keys for ace:list selection support

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0.BETA1
    • Fix Version/s: 3.1.0.BETA2, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ace:list component
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      The current selection behaviour for ace:list is to support multiple selection via mouse-clicks. This presents an issue when you've selected one or more rows in the list, re-ordered them, and would then like to select a different row or set of rows. You first have to click each previously selected row to deselect it, which is tedious.

      A better approach would be to support the standard keyboard modifier keys when doing list row selection, as follows:

      - Click (no modifier keys): Deselects any previously selected rows, selects the current row.
      - Ctrl/Command-Click: Selects the current row, keeps any previously selected rows selected.
      - Shift-Click: Selects the range of rows between the last selected row and the current one.

        Activity

        Hide
        Nils Lundquist added a comment - - edited

        Added first revision of new selection functionality.

        Also added double click migrations to offer greater consistency with the most familiar dual list components.

        Double+click = shift item to the right
        Shift + Double+click = shift item to the left

        Ala tab and shift+tab.

        Revision #29287
        Committed by nils.lundquist
        Moments ago
        ICE-8151 - Added first revision of improved list selection.
        Also added double click item migration to maintain consistency with common dual list components.

        Show
        Nils Lundquist added a comment - - edited Added first revision of new selection functionality. Also added double click migrations to offer greater consistency with the most familiar dual list components. Double+click = shift item to the right Shift + Double+click = shift item to the left Ala tab and shift+tab. Revision #29287 Committed by nils.lundquist Moments ago ICE-8151 - Added first revision of improved list selection. Also added double click item migration to maintain consistency with common dual list components.
        Hide
        Ken Fyten added a comment -

        Add selection key descriptions to TLD.

        Show
        Ken Fyten added a comment - Add selection key descriptions to TLD.
        Hide
        Nils Lundquist added a comment -

        Revision #29340
        Committed by nils.lundquist
        Moments ago
        ICE-8151 - Extended ace:list selection TLD to cover the new behaviour.

        Show
        Nils Lundquist added a comment - Revision #29340 Committed by nils.lundquist Moments ago ICE-8151 - Extended ace:list selection TLD to cover the new behaviour.

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: