multi click to keep when page changes

Good Afternoon,   I have a multiselect check box for choosing names. if you search for a name or go to a different pagination it unchecks what I have already checked.   Is there a way of keeping what I have already checked. For instance if I check Agatha then search for a different name it unchecks Agatha.     Thanks in advance
1 answers

How do you story the boolean state for each row?

If you have an attribute in the object which you change from false to true without a commit, it will reset if the data is reloaded.


What can help is enveloping the main row object with a view object. Relate the RowEmployeeView object to the Employee object and store the select boolean state in the view object.