angular-ui/ui-grid

Entire text is selected when entering deepEdit mode with F2 or doubleclick

Open

#7 217 ouverte le 19 févr. 2022

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (2 496 forks)batch import
a11ygrid-edithelp wantedneeds: analysis

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

When entering deepEdit mode with a double-click or F2 when using navigation, the entire text is selected. I am used to the text not being selected and the cursor being at the end of the text in the input, like in excel with F2. With enableCellEditOnFocus: true and navigating the grid, it makes sense for the entire text to be selected, because when entering new text, the old text gets overwritten - behavior like excel. But when entering deepEdit with F2 - also like in Excel - you usually want to change the text and not overwrite it.

Guide contributeur