How to make it so that the currently selected cell is always in edit mode? [SOLVED]

Tags: #<Tag:0x00007efc6a398470> #<Tag:0x00007efc6a39ee10>

I have HoT configured so that only a single cell can be selected at a time. I’m using it for data entry and I do not want the user to have to press enter to start and end data entry. Whichever cell is currently selected should automatically go into edit mode upon selection.

So if a user clicked on a cell the prior cell would stop editing and the newly focused cell would then start focusing. Similarly if the user pressed tab the current cell would stop editing, the cell change and the new cell would start editing.

How do I accomplish this?

Hi @dan.rhodes

You can use the getActiveEditor() method to do it. Here’s a demo https://jsfiddle.net/1ye6mqnf/1/

Let me know if you’d need anything more than that.

Thanks! That did the trick.

Great! I think that we can close the thread as solved.