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

Last Column of Grid cannot focus on error

Thread ID:





53655 Dec 18,2006 03:43 PM UTC Jan 5,2007 12:44 PM UTC WinForms 5
Tags: Grouping
Martin Nitschke
Asked On December 18, 2006 03:43 PM UTC

We are using VS 2005 and Syncfusion

In our database, the last column happens to be an int datatype. In the attached sample, please connect to any database and try to have the last column as a number type entry. You can drag a column to be the last column.

While running the program, type an alpha character in the last column. The error will be detected, a message box is displayed, an error provider is show in the cell. Now the problem. Try to focus the cell to correct the error. The cell will not permit focus. The workaround is to drag the last column to the left, then the input disappears and you can edit the column again. However, this is NOT acceptable. We should be able to correct an error no matter which column it is in.

Under normal conditions, we can edit the last column. However, setting the SelectionMode property to anything other than NONE causes the error. (See Form1.cs)

gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;


Administrator [Syncfusion]
Replied On December 19, 2006 08:32 PM UTC

Hi Martin,

Thank you for being patience.

Please refer to the following video clip which demonstrates the steps followed by us to reproduce the issue here. Is it possible for you to suggest us more details on reproducing the issue here? So we could suggest you a better solution at the earliest.

VideoClip: DBBinding_GGC.zip

Have a nice day.

Best regards,

Martin Nitschke
Replied On December 19, 2006 09:01 PM UTC

Yes. I just tried something. Your sample had 4 columns, where mine had over 30. I reduced my columns down to 4 and it works. Try with a datasource with greater than 30 columns.

Administrator [Syncfusion]
Replied On December 21, 2006 12:45 PM UTC

Hi Martin,

Thanks for the information and for being patience.

We could able to reproduce the issue in the specified version. We will consult with our development team and let you know the details on this issue.

Have a nice day.

Best regards,

Martin Nitschke
Replied On January 4, 2007 06:54 PM UTC


I just wondered if you have an update on this issue for us. Thanks.

Administrator [Syncfusion]
Replied On January 5, 2007 12:44 PM UTC

Hi Martin,

We appreciate your kindly patience.

You can work around this behavior by handling the TableControlCellClick event and set the focus to the respective cell. The following is the code snippet.

>>>>>>>>>>Code Snippet<<<<<<<<<<<<<
//this.gridGroupingControl1.TableControlCellClick += new GridTableControlCellClickEventHandler(grid_TableControlCellClick);
void grid_TableControlCellClick(object sender, GridTableControlCellClickEventArgs e)
e.TableControl.CurrentCell.MoveTo(e.Inner.RowIndex, e.Inner.ColIndex, GridSetCurrentCellOptions.SetFocus);

Please try it and let us know if you need any further assistance.
Have a nice day.

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