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

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

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.

1 Reply

AD Administrator Syncfusion Team April 21, 2006 08:49 AM UTC

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.

Loader.
Live Chat Icon For mobile
Up arrow icon