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.

gridcontrol focus leave

Thread ID:

Created:

Updated:

Platform:

Replies:

53798 Dec 20,2006 08:27 AM Dec 21,2006 04:29 AM Windows Forms 2
loading
Tags: GridControl
Aleksander Sadovnikov
Asked On December 20, 2006 08:27 AM

we have grid which has one column of check boxes,
if you check several check boxes and than go to another control the current cell with check state will change it state to uncheck. Have you some ideas how to fix this.

Administrator [Syncfusion]
Replied On December 21, 2006 12:29 AM

Hi Alexander,

We were not able to reproduce the issue here. Is it possible for you to upload us a sample or modify the attached sample to reproduce the issue here? This will help us to analyse the issue further.

Here is a sample.
CheckBoxGDBG.zip

Best Regards,
Haneef

Administrator [Syncfusion]
Replied On December 21, 2006 04:29 AM



>Hi Alexander,

We were not able to reproduce the issue here. Is it possible for you to upload us a sample or modify the attached sample to reproduce the issue here? This will help us to analyse the issue further.

Here is a sample.
CheckBoxGDBG.zip

Best Regards,
Haneef
I fixed this by adding:
private void gridGrouping1_FocusLeave(object sender, EventArgs e)
{
if (gridGrouping1.TableControl.CurrentCell.HasCurrentCell && gridGrouping1.TableControl.CurrentCell.IsModified)
{
gridGrouping1.Table.EndEdit();
}
}

CONFIRMATION

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.

;