J.
J.Nagarajan
Syncfusion Team
October 29, 2007 11:03 PM UTC
Hi Kiran,
Whenever you make any changes to the currentcell and before you move to any other cell the validation events for the currentcell is triggered followed by the TableControlCurrentCellAcceptedChanges event. If you want to be notified of the changed cell after you close the dropdown of the combobox, then you can manually valiadate the cell in the TableControlCurrentCellCloseDropDown event. Please try the below code.
[C#]
void gridGroupingControl1_TableControlCurrentCellCloseDropDown(object sender, GridTableControlPopupClosedEventArgs e)
{
GridCurrentCell cc = e.TableControl.CurrentCell;
if (e.Inner.PopupCloseType == PopupCloseType.Done && cc.IsModified)
cc.ConfirmChanges(true);
}
void gridGroupingControl1_TableControlCurrentCellAcceptedChanges(object sender, GridTableControlCancelEventArgs e)
{
Console.WriteLine("CurrentCell Changed Text: {0}", e.TableControl.CurrentCell.Renderer.ControlText);
}
Let me know if you have any questions.
Regards,
Nagaraj