AD
Administrator
Syncfusion Team
March 6, 2007 05:45 PM UTC
Hi jas_sl,
This a default behavior. But one way you can keep the current cell cursor by calling the refresh method between the GetEditState and SetEditState method. Here is a code snippet
//Form.Load event.
button1.CausesValidation = true;
//button1.Click event.
object editObject = this.grid.CurrentCell.Renderer.GetEditState();
this.grid.Refresh();
this.grid.Focus();
this.grid.CurrentCell.Renderer.SetEditState(editObject);
Best regards,
Haneef