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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SelectedText in current cell

Thread ID:

Created:

Updated:

Platform:

Replies:

94129 Apr 23,2010 01:15 AM UTC Apr 28,2010 09:18 AM UTC WinForms 1
loading
Tags: GridControl
Jasper Tam
Asked On April 23, 2010 01:15 AM UTC

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 09:18 AM UTC

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.

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

;