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