Grid selection - cells, columns, rows selection
can you select mutilple cells? can you select multiple columns/rows?
In AW 2.0 grid control supports the following selection modes
- single cell
- single row
- multiple rows
- multiple rows with checkboxes
The selection modes can be changed with setSelectionMode(mode) method. Possible arguments -
"single-cell", "single-row", "multi-row", "multi-row-marker"
can you have "none" selection ? i.e nothing happens display just like a table ?
For some reason I did not think of this - will add to the next version.
Is it possible to implement a shift-click action that selects all the rows between your first click and your last click? I see that control-click is used for non-contiguous multi-select.
The current version does not have shift-select event handler (will be added in the future).
Possible enhancement candidate:
Add selection mde 'single-row-marker'
You could use the checkbox icon or a radio-button icon.
What is the best way to implement a combination of select-row and select-cell functionality?
- if user clicks on row selector >> select row (used for delete or other action)
- if user double-clicks on cell >> select a cell for edit
Currently, if selection mode is "sengle-row" and editable is set to true, grid allows editing of cell in the first column but not in other columns.