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

Cell selection on edit

Thread ID:





51746 Nov 13,2006 03:02 PM UTC Nov 14,2006 05:04 AM UTC WinForms 1
Tags: GridControl
Sat Sandhu
Asked On November 13, 2006 03:02 PM UTC

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 05:04 AM UTC

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.

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