AD
Administrator
Syncfusion Team
April 24, 2006 08:50 AM UTC
Hi Vijay,
Please try this code to trigger the grid''s CurrentCellEditComplete event.Here is a code snippet.
public const int MM_CLICK = 2;
public const int WM_SYSCOMMAND = 289;
protected override void WndProc(ref System.Windows.Forms.Message m)
{
if (m.Msg == WM_SYSCOMMAND && (int)m.WParam == MM_CLICK)
{
if( flag )
{
flag = false;
this.gridControl1.CurrentCell.Deactivate(false);
}
}
base.WndProc(ref m);
}
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/gridcontroleditcomplete_33a2de05.zip
Please let me know if you need any further assistance.
Thanks for choosing Syncfusion Products.
Regards,
Haneef