gridcontrol focus leave

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.

2 Replies

AD Administrator Syncfusion Team 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


AD Administrator Syncfusion Team 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();
}
}

Loader.
Up arrow icon