Select multiple rows in table with both shift-click and checkboxes?
Hi all-
Jdev 11.1.2.0.0
Our users have two requirements for multiple row selection in tables:
1. Ability to select one row at a time, without keeping shift or control key held down by clicking on a checkbox.
2. Ability to select multiple rows via Shift-click or Control-click anywhere on a row.
I can get one or the other to work, but not both at the same time. The crux of the problem is that I need a transient boolean attribute on the ViewObject to keep track of row selection and mark the checkboxes, but with shift-click/control-click I need to do a partial refresh of the table after my SelectionListener has updated the booleans, otherwise the checkboxes aren't updated. This partial trigger refresh can be slow and also makes it so that shift-click doesn't work.
The Yahoo! mail interface actually works exactly the way they want ours to work. Even though our users are being demanding, I have to admit it's a very usable and intuitive way for multiple row selection to work.
Is there some way to just have checkboxes in table rows client side that can update with row selections and then some way to grab that set of rows with selected checkboxes server side when the user actually performs some action?
If not, please consider this an enhancement request.
Thanks!
-Ed