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.
Syncfusion Feedback

Setting focus to the particular cell in GridDataBoundGrid control

Thread ID:

Created:

Updated:

Platform:

Replies:

42655 Apr 4,2006 08:43 AM UTC Apr 4,2006 09:34 AM UTC Windows Forms 1
loading
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

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.

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

;