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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GDG cell mouse position

Thread ID:





19853 Oct 5,2004 01:25 PM UTC Oct 5,2004 02:43 PM UTC WinForms 2
Tags: GridControl
Gordon Rhea
Asked On October 5, 2004 01:25 PM UTC

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 01:26 PM UTC

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

Administrator [Syncfusion]
Replied On October 5, 2004 02:43 PM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon