How to Get Row Index Given the Record Index

3 Jan 20201 minute to read

This can be done using the following code snippet.

int position = gridGroupingControl1.Table.DisplayElements.IndexOf(record);
Dim position As Integer = gridGroupingControl1.Table.DisplayElements.IndexOf(record)