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

Focus at Disabled Column

Thread ID:

Created:

Updated:

Platform:

Replies:

54975 Jan 22,2007 06:35 AM UTC Jan 22,2007 04:54 PM UTC WinForms 1
loading
Tags: GridControl
leemarose
Asked On January 22, 2007 06:35 AM UTC

hi all,

How to set Focus to the disabled cell in datagrid.

any solution pls.

Regards

Leema

Administrator [Syncfusion]
Replied On January 22, 2007 04:54 PM UTC

Hi Leema,

To handle this problem, instead of trying to move from the current cell to the disable cell , try move from the currentcell to any enabe cell using MoveTo call with GridSetCurrentCellOptions.SetFocus and set a flag there and remember where you want to MoveTo. Then in CurrentCellActivating, test this flag, and if it is set, change e.RowIndex and e.ColIndex to where you want to go.

Please refer to the attached sample for more details.
GCmoveTo.zip

Best Regards,
Haneef

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

;