How to Select a Record programmatically

3 Jan 2020 / 1 minute to read

The following code illustrates how to select a record programmatically.

//Selects the 3rd record.
this.gridGroupingControl1.Table.SelectedRecords.Add(this.gridGroupingControl1.Table.Records[3]);
'Selects the 3rd record.
Me.gridGroupingControl1.Table.SelectedRecords.Add(Me.gridGroupingControl1.Table.Records(3))