Handsontable methods(getData. getCellValue...etc) not working in beforeKeyDown event

Tags: #<Tag:0x00007efc605f4b60>

I enter a value in the handsontable and the beforekeydown event is executed, in that case I can’t get the last entered value of the selected cell.

I can retrieve the key pressed with the keyboard event, but specifically I need to retrieve the input value from the handsontable methods (getData, getCellValue… etc)

Example use case => Last value entered ‘a’

The cell value of the last selected row and column is empty but must be ‘a’

After renderer the handsontable
image

Help me please!

Hi @alelibanezc

the getDataAtCell() etc. won’t work as they are updated when used closes the cell editor. If you need the value of the cell while the user types if you need to read it from the editor. Here’s an example https://jsfiddle.net/0gazhmyp/

Hi @alelibanezc

I am closing this issue as there are no additional questions. However, if you’d need any further help with this issue or your POC, please feel free to reach out to us at support@handsontable.com