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

JJ Jisha Joy Syncfusion Team April 23, 2010 11:43 AM UTC

Hi Jasper,

You could try setting the ActivateCurrentCellBehavior property to 'SelectAll' to achieve the desired behavior. See the code:

this.gridDataBoundGrid1.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;

Regards,
Jisha

Loader.
Live Chat Icon For mobile
Up arrow icon