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.

SelectedText in current cell

Thread ID:

Created:

Updated:

Platform:

Replies:

94129 Apr 22,2010 09:15 PM Apr 28,2010 05:18 AM Windows Forms 1
loading
Tags: GridControl
Jasper Tam
Asked On April 22, 2010 09:15 PM

Hi,

I am using window essential grid.
I want to ask how can I select the whole text ( selectedtext of textbox ) of the current cell when start editing a cell instead of just set focus on the cell as I want to clear the cell once the user try to type anything in the cell.

Thanks,
Jasper



Christopher Issac Sunder K [Syncfusion]
Replied On April 28, 2010 05:18 AM

Hi Jasper,

Thank you for your interest in Syncfusion products.

To select the whole text of the current cell in the GridControl when start editing, you can make use of the following code to achieve it.


this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;


Please let me know if you have any further concerns.

Regards,
Christopher K

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.

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.

;