Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2, 1.8.2-EE-Beta
-
Fix Version/s: 1.8.2-EE-GA_P01, 1.8.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Keyboard support + rowSelector
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
Keyboard support: add keyboard support to rowSelector component.
When a dataTable with a rowSelector has focus, the following keys will function:
Default (multiple=false, enhancedMultiple=false):
Down/Up arrows - Will move the selected row to the next/prev row in the table (changes row selection status).
Multiple=true:
- Down/Up arrows - Will move the row selector highlight bar to the next/prev row in the table, similar to hovering over the row with the mouse currently (does not change row selection status).
- Spacebar - toggle the selected state of the currently highlighted dataTable row, DOES NOT deselect any previously selected rows.
enhancedMultiple=true:
- Down/Up arrows - Will move the row selector highlight bar to the next/prev row in the table, similar to hovering over the row with the mouse currently (does not change row selection status).
- Spacebar - toggle the selected state of the currently highlighted row, deselects any previously selected rows.
- Ctrl+Spacebar - toggle the selected state of the currently highlighted row, DOES NOT deselect any previously selected rows.
- Shift+Spacebar - Selects a contiguous range of all rows from last selected row to the currently highlighted row, deselects any previously selected rows outside of this range.
- Ctrl+Shift+Spacebar - Selects a contiguous range of all rows from last selected row to the currently highlighted row, DOES NOT deselect any previously selected rows.
In all cases, setting "keyboardNavigationEnabled=false" will disable the keyboard navigation on the component.
When a dataTable with a rowSelector has focus, the following keys will function:
Default (multiple=false, enhancedMultiple=false):
Down/Up arrows - Will move the selected row to the next/prev row in the table (changes row selection status).
Multiple=true:
- Down/Up arrows - Will move the row selector highlight bar to the next/prev row in the table, similar to hovering over the row with the mouse currently (does not change row selection status).
- Spacebar - toggle the selected state of the currently highlighted dataTable row, DOES NOT deselect any previously selected rows.
enhancedMultiple=true:
- Down/Up arrows - Will move the row selector highlight bar to the next/prev row in the table, similar to hovering over the row with the mouse currently (does not change row selection status).
- Spacebar - toggle the selected state of the currently highlighted row, deselects any previously selected rows.
- Ctrl+Spacebar - toggle the selected state of the currently highlighted row, DOES NOT deselect any previously selected rows.
- Shift+Spacebar - Selects a contiguous range of all rows from last selected row to the currently highlighted row, deselects any previously selected rows outside of this range.
- Ctrl+Shift+Spacebar - Selects a contiguous range of all rows from last selected row to the currently highlighted row, DOES NOT deselect any previously selected rows.
In all cases, setting "keyboardNavigationEnabled=false" will disable the keyboard navigation on the component.
Issue Links
- duplicates
-
ICE-1694 RowSelector: add keyboard nav support
- Closed
Up and down arrow key support added to navigate between rows and space bar support added to select the row. The Enter key also can be used to select a row.
Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\bridge\lib\extras\extras.js
Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\RowSelector.java
Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\renderkit\TableRenderer.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\bridge\lib\extras\extras.js
Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\renderkit\TableRenderer.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\ext\RowSelector.java
Completed: At revision: 20508