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.

Cell selection on edit

Thread ID:





51746 Nov 13,2006 10:02 AM Nov 14,2006 12:04 AM Windows Forms 1
Tags: GridControl
Sat Sandhu
Asked On November 13, 2006 10:02 AM

When the user clicks on a cell to start editing it I would like all the text in the cell to be selected by default - so that if user starts typing they end up replacing the input rather than appending/prepending to it.

i.e. I want it to behave just like the Address field on Internet Explorer.

What's the best way of doing this?


Administrator [Syncfusion]
Replied On November 14, 2006 12:04 AM

Hi Sat,

Try this code

this.gridControl1.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;

Best Regards,


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.