Goal: When a user selects an editable cell (currency in this particular case), have the entire cell contents preselected so they can overwrite the data w/o using ctrl-A
Details: We are using the new Table component and editable cells (currency in this case). We would like the entire content of the editable cell to be highlighted when editing starts such that when you type it overwrites the entire value. Currently users have to select the cell, then select ctrl+a to select all or use the arrow keys, then start typing. This is very time consuming for a large amount of data
Is there a way to automatically select the entire contents of the cell w/o the user doing it. Basically it would like Excel does
I've been giving thought to this but I can't think of a solution. I usually just double click on the whole text to select it all and then overwrite the data.
Looking at the table's methods nothing seems to be able to clear data from, let's say, selectedCell.
Just following up here since it's been quite awhile. Unfortunately, we have this request in our backlog still. It isn't on the current roadmap, but, if that changes, we'll follow up here. I definitely agree that the current process time consuming for this use case we're also tracking several related requests around faster table edits (similar to what you'd find in Excel)
The custom React component could potentially be another workaround to consider, if have the capacity to maintain your own table component.