When user double click on a cell (or press enter while in it) of a DataGrid with buffered editor, the cell is getting focus, like below.
What I want to do is select all text of the field when this happens, like below. Which means first input will erase whole field without additional action from user.
I was thinking about getting the focused editor Field and call TextField.selectAll().
I know how to get editor fields through DataGrid.EditorOpenEvent.getFields(), but I don’t know how to get the one being focused.