How to Access a Record Given the Row Index

3 Jan 2020 / 1 minute to read

This can be done using the following code snippet.

//Uses the DisplayElements property of the grid to find the corresponding record.
Record r = gridGroupingControl1.Table.DisplayElements[rowIndex].ParentRecord;
'Uses the DisplayElements property of the grid to find the corresponding record.
Dim r As Record = gridGroupingControl1.Table.DisplayElements(rowIndex).ParentRecord