Home Forums WinForms controls Xceed Grid for WinForms Getting related data item for multiple selected rows Reply To: Getting related data item for multiple selected rows

Xceed Support
Member
Post count: 5658

I’m not sure to completely understand the problem here. The SelectedRows collection directly contains reference to the DataRows inside the GridControl.

string cellValue = ((Xceed.Grid.DataRow)gridControl1.SelectedRows[0]).Cells[0].Value;

Imported from legacy forums. Posted by CharlesB (had 782 views)