Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 1.6
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
Description
the behaviour of the rowSelector component is not yet as expected when setting the new attribute
- toggleOnClick
what happens is that the selected row is still highlighted. you don't have any chance to programmatically retrieve the
selected column of the row you chose. there should be a way to retrieve the selected column out of the underlying
data model which is not yet possible. also it still doesn't make any difference when selecting i.e. a checkbox or selectOneRadio
component for changing the selection state. the selected row gets highlighted, no matter which column is selected.
[ Show » ]
Michael Thiem [10/Jul/07 05:04 AM] the behaviour of the rowSelector component is not yet as expected when setting the new attribute - toggleOnClick what happens is that the selected row is still highlighted. you don't have any chance to programmatically retrieve the selected column of the row you chose. there should be a way to retrieve the selected column out of the underlying data model which is not yet possible. also it still doesn't make any difference when selecting i.e. a checkbox or selectOneRadio component for changing the selection state. the selected row gets highlighted, no matter which column is selected.
- toggleOnClick
what happens is that the selected row is still highlighted. you don't have any chance to programmatically retrieve the
selected column of the row you chose. there should be a way to retrieve the selected column out of the underlying
data model which is not yet possible. also it still doesn't make any difference when selecting i.e. a checkbox or selectOneRadio
component for changing the selection state. the selected row gets highlighted, no matter which column is selected.
[ Show » ]
Michael Thiem [10/Jul/07 05:04 AM] the behaviour of the rowSelector component is not yet as expected when setting the new attribute - toggleOnClick what happens is that the selected row is still highlighted. you don't have any chance to programmatically retrieve the selected column of the row you chose. there should be a way to retrieve the selected column out of the underlying data model which is not yet possible. also it still doesn't make any difference when selecting i.e. a checkbox or selectOneRadio component for changing the selection state. the selected row gets highlighted, no matter which column is selected.
Issue Links
- depends on
-
ICE-1743 RowSelector: selectable attribute
- Open
Activity
Michael Thiem
created issue -
Michael Thiem
made changes -
Michael Thiem
made changes -
User aberrant80
made changes -
I'm not sure what you're getting at. The rowSelector is not specific to a single column, but to the whole row. It operates in two modes:
1. toggleOnClick=true
In this scenario the rowSelector will automatically select/deselect any rows that are clicked by the user. There is no accomodation made for cases where input components are displayed in the row, a click on the row selects the row in all cases, regardless of which column is clicked.
2. toggleOnClick=false
This setting is intended for cases where you do not want the row selected clicked in any column, such as when you have input components in the row. In this case, it is up to the application to decide what constitutes a row selection action in the user-interface. Common approaches would be to add a checkbox to the left-most column that when selected by the user would also select the row. This way, the application UI can accomodate both input components such as as inputText in the row cells, AND still support user selection of rows.
If you want to be able to only select rows when a specific column or columns is clicked, etc., you need to use toggleOnClick=false and then implement the application UI to modify the selected rows dataset when an alternative UI event occurs (checkbox selected, button pushed, etc.).