How to Access Selected Records

3 Jan 2020 / 1 minute to read

The selected records can be accessed using the code snippet below.

//Accesses Selected records in GridGroupingControl.      
foreach(SelectedRecord rec in this.gridGroupingControl1.Table.SelectedRecords)
System.Diagnostics.Trace.WriteLine(rec.Record.Info);
'Accesses Selected records in GridGroupingControl.
For Each rec As SelectedRecord In Me.gridGroupingControl1.Table.SelectedRecords
Console.WriteLine(rec.Record.Info)
Next rec