Home Forums WinForms controls Xceed Grid for WinForms Handling double click event for a Xceed.Grid.DetailGrid Reply To: Handling double click event for a Xceed.Grid.DetailGrid

User (Old forums)
Member
Post count: 23064

A follow up that I have regarding Detail grids: How do I get the current row of the detail grid and then extract a specific value (like userID) from a column I have?

For instance, at the Master level I can write
userID = grdUsers.DataRows[currentRow].Cells(“colUserID”).Value

And I track “currentRow” with the master grid’s CurrentRowChanged event. How can I do this same “currentRow” tracking with a detail grid?

I’ve already wired up a pseudo-double click event to each cell in the detail grid but I can’t figure out how to interpret the Detail grid’s current row.

Thanks.

Imported from legacy forums. Posted by Jason (had 401 views)