How to Access Sorted or Filtered Records

3 Jan 2020 / 1 minute to read

This can be done using the following code snippet.

//Loops through the filtered records.
foreach(Record fr in this.gridGroupingControl1.Table.FilteredRecords)
{
    Console.WriteLine(fr.Info);
}
'Loops through the filtered records.
For Each fr As Record In Me.gridGroupingControl1.Table.FilteredRecords
    Console.WriteLine(fr.Info)
Next fr