This example shows a form that has a filtered grid with a "Selected" column, like this:
The code example below shows how to iterate through all of the filtered, selected rows. We first loop through the filtered rows, so if a non visible row is 'Selected' it will not be processed. Then we check to see if the filtered row is 'Selected', and process it.