AD
Administrator
Syncfusion Team
February 5, 2007 07:23 PM UTC
Hi James,
You can handle the TableControlCurrentCellCloseDropDown event of the grid and call the CurrentCell.EndEdit method followed by the Table.EndEdit method to commit the selection changes in a Drop Down. Here is a code snippet.
private void gridGroupingControl1_TableControlCurrentCellCloseDropDown(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlPopupClosedEventArgs e)
{
if( e.Inner.PopupCloseType == Syncfusion.Windows.Forms.PopupCloseType.Done)
{
e.TableControl.CurrentCell.EndEdit();
e.TableControl.Table.EndEdit();
}
}
Best Regards,
Haneef