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. Image for the cookie policy date
close icon

Select Content on CellClick

Hi,

I have a requirement in which i need to select the "cell content" (NOT Cell itself) on clicking a cell of a grid control. Could anyone let me know how i can do this?

Thanks and Regards,
Sridhar


3 Replies

SR SubhaSheela R Syncfusion Team August 25, 2008 12:10 PM UTC

Hi Sridhar,

You can select all the text by setting ActivateCurrentCellBehavior property of tge grid.

Here is the code:


this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;


Please let me know if it helps.

Regards,
Subhasheela R




SR Sridhar August 26, 2008 06:34 AM UTC

Thanks a lot for a swift response.

>Hi Sridhar,

You can select all the text by setting ActivateCurrentCellBehavior property of tge grid.

Here is the code:


this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;


Please let me know if it helps.

Regards,
Subhasheela R






HA Herbert Amann January 23, 2009 09:20 AM UTC

Hi,

how can this be done for a GridGroupingControl

Regards,
Herbert


Loader.
Live Chat Icon For mobile
Up arrow icon