We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Focus()

I am using Gridcontrol in a form. How to set the focus back to grid in form_Closing event? Ragrds Ravi

1 Reply

AD Administrator Syncfusion Team May 19, 2006 03:52 AM UTC

Hi Ravi, Try this code to set the focus of the cell in a grid. Here is a code snippet. this.gridControl1.Focus(); this.gridControl1.CurrentCell.BeginEdit(true); Please let me know if this helps. Best Regards, Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon