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.

right arrow key down on last column of row

Thread ID:





58021 Mar 15,2007 06:24 PM Mar 16,2007 03:56 PM Windows Forms 1
Tags: Grouping
Asked On March 15, 2007 06:24 PM

I have a GGC which has its showrowheader = false. When the cursor/focus is on the last cell of a row, and when I press the right arrow keystroke, the focus comes to the first cell in that row.. How can I suppress this?

when the row header is visible, this doesnt happen..


Administrator [Syncfusion]
Replied On March 16, 2007 03:56 PM

Hi Sam,

You can try this code snippet in a TableControlCurrentCellKeyDown event of the grid and let me know if this helps.

void gridGroupingControl1_TableControlCurrentCellKeyDown(object sender, GridTableControlKeyEventArgs e)
int VisibleColCount = e.TableControl.TableDescriptor.VisibleColumns.Count ;
int LastColIndex = e.TableControl.TableDescriptor.FieldToColIndex(VisibleColCount - 1);
if (e.Inner.KeyData == Keys.Right && e.TableControl.CurrentCell.ColIndex == LastColIndex)
e.Inner.Handled = true;

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.

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.