When I change the sort or filter of the DataGrid's RecordSet, the DataGrid.Row numbers will not be sequential anymore in the grid.
Means if I verify the first 5 rows in the grid, the .Row properties are 3,7,0,1,8 for example, based on the sort criteria.

my question is how can I iterate through the grid itself from one row to another row?
for example, I select the 10th row in the grid and using a loop in the code, verify the value from this row to the next 20 rows.