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.
Syncfusion Feedback

gridcontrol focus leave

Thread ID:

Created:

Updated:

Platform:

Replies:

53798 Dec 20,2006 01:27 PM UTC Dec 21,2006 09:29 AM UTC Windows Forms 2
loading
Tags: GridControl
Aleksander Sadovnikov
Asked On December 20, 2006 01:27 PM UTC

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 05:29 AM UTC

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 09:29 AM UTC



>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.

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

;