Hi, I created a jsf datatable which fetch the values from database.For each row I had a selectbooleancheckbox.If I select multiple rows,I need to delete those rows.The problem I am facing is if I select two rows the first one has been deleted and instead of second one the row after that second one has been deleted.Every time it was happening like that.Can anyone help me?
A. Dusi
Ranch Hand
Joined: Sep 27, 2004
Posts: 114
posted
0
May be you should do delete operation from bottom to top. Looks like the indices are rearranged.