Home › Forums › WinForms controls › Xceed Grid for WinForms › How to retrieve the selected row number ? › Reply To: How to retrieve the selected row number ?
If you are using a data-bound grid, and you need the rowindex that match the index in you’r data-collection, you can do this:
int index = ((Xceed.Grid.DataRow)gridControl1.CurrentRow).Index;
Regards
Thomas
Imported from legacy forums. Posted by C# (had 333 views)