4 Replies Latest reply on Mar 9, 2011 5:51 AM by Alex Istrate

    Richfaces datatable with selectbooleancheckbox

    Alex Istrate Newbie

      Hi,

       

      I have a datatable with two colums: name and select. I use a datatable paginator on every 15 rows.

      I need the following functionality: when selecting some rows and pressing a button these rows are deleted from the datatable. This works fine except when I select the last row from the page and press the delete button: the table is rerendered, the last row from the page is deleted but the select boolean checkbox remains selected (I have printed the data - the value of the selected flag is false).

       

      Is there any fix for this? My table data seems fine after the deletion and this happens only with the last row from every page.

       

      Thank you