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

ggc - bringing current record to display

Thread ID:





60490 May 7,2007 08:24 AM UTC May 7,2007 05:32 PM UTC WinForms 1
Tags: GridControl
Ryan Hardoon
Asked On May 7, 2007 08:24 AM UTC

Hi everybody,

In one of my ggc grids I had to overwrite TableControlKeyDown and to set e.Inner.Handled to true.
(I really have no choice, because I have to display and navigate row-clusters of uneven sizes (see the attached image), and if I don't set e.Inner.Handled to true, there's an interfearence with the display)

As a result, the ggc doesn't auto-scroll the display and the record that's set to current (within TableControlKeyDown) sometimes gets out of the grid display area.

What can I do to force the current record back to the display area ?

Thanks in advance.


haneefm [Syncfusion]
Replied On May 7, 2007 05:32 PM UTC

Hi Ryan,

If you want to scroll the record into view then use the ScrollCellInView method. Here is a code snippet.

//Getting a rowindex given the record index
int position = gridGroupingControl1.Table.DisplayElements.IndexOf(record);

Also refer the below forum thread for more details.

Best regards,


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