Tranverse and update selected rows

To use this specific functionality to loop through selected rows, it will be required to set grid.PageMode = false. When PageMode = true, only visible records are present and thus only state of visible records can be maintained.