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.

GGC: Do Not Focus Current Cell

Thread ID:





72854 Apr 9,2008 12:08 AM Apr 17,2008 11:13 AM Windows Forms 1
Tags: Grouping
Asked On April 9, 2008 12:08 AM


I have an issue with the GGC always scrolling to the current cell when it comes into focus. How can I make it so that the GGC does not scroll to the current cell when I leave the control and come back. This is useful as the GGC updates frequently with new records sorted by time, so the newest entries are on top. But if it always scolls to the current cell, you will always miss the new records being added. Thanks for you help.

Administrator [Syncfusion]
Replied On April 17, 2008 11:13 AM

Hi Patrick,

Thanks for the interest in Syncfusion products.

You can set the CurrentCell.MoveTo to a particular record when you add a new record. Please refer the following code snippet that shows how we can set CurrentCell.MoveTo.

private void button1_Click(object sender, EventArgs e)
dt.Rows.Add(new object[] { 212, "Mike" });
this.gridGroupingControl1.TableControl.CurrentCell.MoveTo(4, 1, GridSetCurrentCellOptions.SetFocus);

Please refer the sample in the below link that illustrates the above.


If I have misunderstood your requirement, could you please explain me in detail, so that I can work in
depth and try to send a better solution?



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.