Home Forums WinForms controls Xceed Grid for WinForms Right click to select a row

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #15446 |

    Hi,

    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.

    Thanks!

    Hao

    Imported from legacy forums. Posted by hao_jiang (had 2463 views)

    User (Old forums)
    Member
    Post count: 23064

    <a href=”http://www.xceedsoft.com/cs/download/XceedGrid/CSharp/ContextMenuOnCells.zip”>Here</a&gt; 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)

    User (Old forums)
    Member
    Post count: 23064

    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)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.