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

SelectedText in current cell

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



1 Reply

CI Christopher Issac Sunder K Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon