angular-ui/ui-grid

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

已關閉

#7,217 建立於 2022年2月19日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (2,496 個分叉)batch import
a11ygrid-edithelp wantedneeds: analysis

倉庫指標

星標
 (5,395 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南