#7486 closed defect (fixed)
Grid should support single, multiple and extended selection models
Reported by: | David Schwartz | Owned by: | evan |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | DojoX Grid | Version: | 1.1.1 |
Keywords: | ibm selection EnhancedGrid | Cc: | |
Blocked By: | Blocking: |
Description
Currently, Grid supports some level of single and multiple selection. Extended selection also needs to be supported. These terms and their meaning are defined below. This issue exists only for direct selection (see ticket #7485).
Single Selection
At times, only a single row may be selected for reasons related to application design or subject domain logic. The following describes how to select a single object by interacting directly with the row.
Mouse. Click mouse selection button with pointer on row to be selected.
Keyboard. With input focus on row to be selected, press Ctrl+Spacebar; also Spacebar if spacebar is not used to type a space.
Result. De-selects currently-selected row in selection scope; selects single identified row.
Extended and Multiple Selection
Sometimes, however, users may select more than one row and on still other occasions they will most likely select multiple rows. Different approaches are taken in these two situations: extended and multiple selection, respectively.
Extended Selection. Extended selection addresses the situation where the user is most likely to select a single row but might also select additional rows. Accordingly, Extended Selection is optimized for the more frequent case: single row selection. A single row is selected by interacting directly with it as described above. Selecting subsequent, adjacent rows is accomplished as described below.
Goal. Select additional contiguous rows
Mouse. SHIFT+click on the last row
Keyboard. SHIFT+CURSOR in the direction the selection set is to be extended; stop pressing when the last row of interest is added to the selection.
Result. A range of rows is selected.
Goal. Select additional non-contiguous rows
Mouse. CTRL-click to establish an additional selection set and then SHIFT+CTRL+click to identify the last row of interest to include in the additional set
Keyboard. SHIFT+F8 establishes a mode in which the initial deselection is bypassed and the new selected rows are added or removed from the current group of selected rows. Once in the mode, cursor to the initial row in the new set and then follow the same method for selecting an initial row and extending the selection.
Result. An additional range of rows is selected.
Multiple Selection. Multiple selection addresses the situation where the user will most likely be selecting multiple rows. Selecting multiple rows is as described below.
Goal. Select multiple rows
Mouse. Click on each row of interest
Keyboard. SPACEBAR while the input focus is on a row
Result. The selection state of the row with the input focus is toggled (selected --> unselected; unselected --> selected)
Change History (12)
comment:1 Changed 12 years ago by
Component: | Dijit - LnF → DojoX Grid |
---|---|
Owner: | set to Bryan Forbes |
comment:2 Changed 12 years ago by
Milestone: | tbd → 1.2 |
---|
comment:3 Changed 12 years ago by
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I'm assuming that the current code is available at http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/grid/tests/test_selection.html. If so, this is looking great. Now, how about cell selection?
comment:6 Changed 12 years ago by
Milestone: | 1.2 → 1.3 |
---|
since these tickets were reopened, marking milestone as 1.3 (the next uncompleted milestone) so we don't overlook them
comment:7 Changed 12 years ago by
Milestone: | 1.3 → 1.4 |
---|
comment:8 Changed 11 years ago by
Milestone: | 1.4 → future |
---|---|
Owner: | changed from Bryan Forbes to Evan |
Status: | reopened → new |
EnhancedGrid? request
comment:10 Changed 11 years ago by
Milestone: | future → 1.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:11 Changed 11 years ago by
Keywords: | EnhancedGrid added; single extended multiple grid removed |
---|
comment:12 Changed 10 years ago by
Owner: | changed from Evan to evan |
---|
Clarification re keyboard selection techniques for Multiple Selection.
With input focus on row to be selected, press Ctrl+Spacebar; also Spacebar if spacebar is not used to type a space. To select additional contiguous rows, SHIFT+CURSOR in the direction the selection set is to be extended; stop pressing when the last row of interest is added to the selection.