Home › Forums › WinForms controls › Xceed Grid for WinForms › Right click to select a row
I need to do bring up a popup menu based on which row the user right clicked. I would like that row to be selected as well.
I can’t figure out how to set the current row based on the position of the mouse pointer. Any help will be appreciated.
Imported from legacy forums. Posted by hao_jiang (had 2463 views)
<a href=”http://www.xceedsoft.com/cs/download/XceedGrid/CSharp/ContextMenuOnCells.zip”>Here</a> is a sample application showing how to pop up a context menu and select the corresponding row.
Imported from legacy forums. Posted by André (had 314 views)
Never mind. I figured it out. Just use the EventArgs to find the row.
Imported from legacy forums. Posted by hao_jiang (had 3457 views)