Highlighting the text when editing an item from the tree

When I want the user to rename an item from the tree, I open the editor for him:


But I want the text in the editor to be selected (highlighted). Now the cursor is in the end of the text and the text isn’t selected. How to do this?

Here is your approach:


                    var inp = this._editCell.span.firstChild;
                return true

Tnx :slight_smile: