On a single-click, select all text within a cell

On a single-click of a cell in my grid, I want to select the entire cell.
For example of the issue I am trying to solve: to edit a cell that has a value of 459, when I click in the cell, the end of 459 is selected. If I enter 87, I get 45987. Instead, I want the 459 to be selected and replaced by 87.
In other words, I can do the same thing by triple-clicking on the cell, which selects the entire cell value. But, I want to do that with just a single-click.

Hello.
Please, try to add the following code to your grid initialization

myGrid.attachEvent(“onEditCell”,function(stage,rowId,colInd){
if (stage==1 && this.editor && this.editor.obj){
this.editor.obj.select();
}
return true
})
``

Works perfect. Thank you.