Whenever I edit some records in the datatable I refresh the table to make sure the table shows updated records from users of the application as well. But by refreshing I lose the selections i made before the update. I would like to preserve those selections (blue background). The records might switch positions in the table after refresh so I am guessing the IDs switch too. So is there a way I can select a record from datatable based on an attribute(column) after the refresh.