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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Setting focus to the particular cell in GridDataBoundGrid control

Thread ID:





42655 Apr 4,2006 08:43 AM UTC Apr 4,2006 09:34 AM UTC WinForms 1
Tags: GridControl
Prathima Venkobachar
Asked On April 4, 2006 08:43 AM UTC

Hi, In our application, we are using GridDataBoundGrid control. Once the grid is loaded, I need to set focus to the particular cell (Eg. second row, second column) so that the user should be able to edit the text in that cell. Which property or method can be used to set the focus? SyncFusion version is 3.3 Thanks & Regards, Prathima

Administrator [Syncfusion]
Replied On April 4, 2006 09:34 AM UTC

Hi Prathima, You can set the focus to required cell by using CurrentCell.MoveTo( ) method. Below is the code snippet // In Form_Load event this.gridDataBoundGrid1.CurrentCell.MoveTo(2,2,GridSetCurrentCellOptions.SetFocus); this.gridDataBoundGrid1.CurrentCell.BeginEdit(); Best regards, Madhan


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