You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Glen <ks...@yahoo.com> on 2007/11/08 13:32:27 UTC

Trinidad Table Row remove Issue with checkBox.


 Hi,
      I have an Issue with the Trinidad Table on rowselection multiple with
removed row.
   ie, when i select a row and click on Remove,Remove method gets the
selected row index and removes index value from the list binded to table in
Backing Bean and again the list with removed index is binded to Table it
works fine showing the table values without removed row but,
     The checkBox is remained as selected for the same Index what may be the
problem.
  How to make the checkBoxes to normal unselected state after row is
removed.
         
     Please suggest for the Problem.

       IDE : Jdeveloper 10.1.3.2.
       Trinidad : trinidad-api-1.0.1
                     trinidad-impl-1.0.1
                     jsf 1.1

Thanks in Advance...
-- 
View this message in context: http://www.nabble.com/Trinidad-Table-Row-remove-Issue-with-checkBox.-tf4770633.html#a13646095
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: Trinidad Table Row remove Issue with checkBox.

Posted by Max Starets <ma...@oracle.com>.
Glen,

If you want to clear selection state after deleting the row,
call getSelectedRowKeys().clear() on the table instance.

Hope this helps.

Regards,

Max Satrets

Glen wrote:
>  Hi,
>       I have an Issue with the Trinidad Table on rowselection multiple with
> removed row.
>    ie, when i select a row and click on Remove,Remove method gets the
> selected row index and removes index value from the list binded to table in
> Backing Bean and again the list with removed index is binded to Table it
> works fine showing the table values without removed row but,
>      The checkBox is remained as selected for the same Index what may be the
> problem.
>   How to make the checkBoxes to normal unselected state after row is
> removed.
>          
>      Please suggest for the Problem.
>
>        IDE : Jdeveloper 10.1.3.2.
>        Trinidad : trinidad-api-1.0.1
>                      trinidad-impl-1.0.1
>                      jsf 1.1
>
> Thanks in Advance...
>