We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GDG cell mouse position

Thread ID:

Created:

Updated:

Platform:

Replies:

19853 Oct 5,2004 09:25 AM Oct 5,2004 10:43 AM Windows Forms 2
loading
Tags: GridControl
Gordon Rhea
Asked On October 5, 2004 09:25 AM

Hi, I need to be able to tell what cell a mouse is over when the user right clicks. I need to dynamically determine what context menu to display based on what cell is clicked on. I tried using currentcell but aparently the grid_click event gets fired before the CurrentCell properties are updated. Thanks, Gordon

Gordon Rhea
Replied On October 5, 2004 09:26 AM

Sorry, I''m using a Data bound grid for this.

Administrator [Syncfusion]
Replied On October 5, 2004 10:43 AM

You can use grid.PointToRowCol to get the row and column under a point. This KB has some sample code. http://www.syncfusion.com/Support/article.aspx?id=10054

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;