Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8RC1
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Icefaces 1.8.rc1
-
ICEsoft Forum Reference:
Description
Main problem
We need to ensure that always a single row is selected (NOT 0 and not more than one).
How is possible to prevent deselecting a row?
Current, default behaviour of rowSelector:
- step one, user click on row, row selection is enabled
- step two, user click the same row, row selection will be disabled
The problem is how to prevent deselecting of current row in "step two", row should be still selected.
It looks that any of current tags can't give this behavoiour
I suggest use one of:
- change behaviour of RowSelector to "always one selected", on init first row can be selected by default, probably most users do it now
- use property toggleOnclick, if user select row then toggleOnclick>false and prevent this row from deselection "
- add new tag like "alwaysSelected=true/false" if true always something is always selected with initial first row selection
We need to ensure that always a single row is selected (NOT 0 and not more than one).
How is possible to prevent deselecting a row?
Current, default behaviour of rowSelector:
- step one, user click on row, row selection is enabled
- step two, user click the same row, row selection will be disabled
The problem is how to prevent deselecting of current row in "step two", row should be still selected.
It looks that any of current tags can't give this behavoiour
I suggest use one of:
- change behaviour of RowSelector to "always one selected", on init first row can be selected by default, probably most users do it now
- use property toggleOnclick, if user select row then toggleOnclick>false and prevent this row from deselection "
- add new tag like "alwaysSelected=true/false" if true always something is always selected with initial first row selection
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion