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

How to make the cursor of GCC grid points to the first record

Thread ID:

Created:

Updated:

Platform:

Replies:

43378 Apr 21,2006 04:36 AM Apr 21,2006 04:49 AM Windows Forms 1
loading
Tags: GridControl
Rahul Sharma
Asked On April 21, 2006 04:36 AM

i have a GCC datagrid, I wish to have the cursor of the grid to be pointed to the first record, as soon as the datagrid is displayed which is not the default behaviour of the cursor in the GCC datagrid.

Administrator [Syncfusion]
Replied On April 21, 2006 04:49 AM

Hi Rahul, A record can be set as current by calling record.SetCurrent() method. Try the below code snippet in the form load or in the gridGroupingControl.Enter event handler. if(this.gridGroupingControl1.Table.Records.Count >0) this.gridGroupingControl1.Table.Records[0].SetCurrent(); Regards, Calvin.

CONFIRMATION

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.

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.

;