This question already has an answer here:
I have a grid with a column of checkboxes that allows to select multiple rows. When any row is selected user can do some kind of action on them. Grid has several pages, sorting and filtering are enabled. My question is: should the state of selected checkboxes be remembered when user changes page? For example, user selectes two rows on first page, goes to second, selects another row there and executes the action on selected rows. Should the action affect rows from first page as well or only the second?