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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Grouping Control

Thread ID:





90444 Oct 1,2009 01:03 PM UTC Oct 1,2009 01:24 PM UTC WinForms 1
Tags: Grouping
Sachin Pandey
Asked On October 1, 2009 01:03 PM UTC

GridBound Control has a PointToRowCol method which gives the cordinates of row and column where the mouse got clicked. How can we retrieve the same in Grouping Gird control

Rajadurai C [Syncfusion]
Replied On October 1, 2009 01:24 PM UTC

Hi Sachin,

Thanks for your interest in Syncfusion Products.

In gridgroupingcontrol, the PointToRowCol method can be accessed through GridTableControl class. Here is some code for your reference handled in TableControlCellMouseDown event.

void gridGroupingControl1_TableControlCellMouseDown(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellMouseEventArgs e)
int row,col;
this.gridGroupingControl1.TableControl.PointToRowCol(new Point (e.Inner.MouseEventArgs.X,e.Inner.MouseEventArgs.Y),out row,out col);
Console.WriteLine ("Row: "+row+" Col: "+col);



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

or the page will be automatically redirected to 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