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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





18980 Sep 15,2004 03:38 AM UTC Sep 15,2004 05:55 AM UTC WinForms 1
Tags: GridControl
Asked On September 15, 2004 03:38 AM UTC

Hai, I am using GDBG and when the form load up I want the focus to be in the third column of the grid.

Administrator [Syncfusion]
Replied On September 15, 2004 05:55 AM UTC

At the bottom of Formload, try grid.ForceCurrentCellMoveTo = true; //may not be needed grid.CurrentCell.MoveTo(1,3); //can also set activate options if you want using 3rd parameter In addition to the above code, depending upon tab orders and parent controls on your form, you may have to make the grid the active control with code like this.ActiveControl = grid or calling grid.Focus() or something of that nature. But if it is just a grid directly on a form, the above is usually sufficient.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon