Unselect rows in datagrid after pressing buttons First, Previous, Next or Last page

I have a datagrid that shows 5 rows. I want to be able to select one or more of these 5 rows. However when I choose the button first page, previous page, next page or last page I want to unselect all the selected rows before showing the choosen page. Is this possible and if so, how do I implement this.
0 answers