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.
Up arrow icon