Home Forums WinForms controls Xceed Grid for WinForms Getting values from a selected detail grids row? Reply To: Getting values from a selected detail grids row?

User (Old forums)
Member
Post count: 23064

Thanks,

That was exaclty the answer I was looking for.

//Change the sender object into a cell
Xceed.Grid.Cell c = (Xceed.Grid.Cell)sender;

//Get the value from the cells parent row
int nContactId = (int)c.ParentRow.Cells[“ContactId”].Value;

Thanks for the quick overview of how the grids click events work.

ACanadian

Imported from legacy forums. Posted by ACanadian (had 3496 views)