Hi,
I’m trying to implement the Excel like feature which allows the user to click on a cell to get its index filled into the formula he is working on. For example the user types “=A1+” in a cell in edit mode and then clicks the cell A2, the content of the cell the user was typing in should become “=A1+A2” and be still in edit mode so the user can insert more content without having to go to edit mode by clicking the cell again. I got a naive implementation working but I cannot manage to get the edited cell back to edit mode after the click on another cell. I tried window.setTimeout to give HOT some more time. The editor will open with setTimeout but it will be empty in both tried cases (with initial value for beginEditing and without).
Here is my fiddle, I would be very happy if you could have a look: https://jsfiddle.net/fjd5u7bq/3/
Sorry for the commented code, but I hope it helps to see what I already tried. Unfortunately this feature is a must-have for our customer.
Best regards
Ole