Table Cell Edit Select All

  • 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

Hi @BrianP,

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.

1 Like