setDataAtCell api is not accessible in CustomEditor

Tags: #<Tag:0x00007efc655259f0> #<Tag:0x00007efc65525860>

When I select a date using flatpickr, I need the value within the cell to change accordingly. I tried using setDataAtCell, but I encountered the following error.




How can I update a cell’s value with the selected date from flatpickr without closing the custom editor? Can I use setDataAtCell for this, and if not, what’s the best way to achieve this functionality?
Here is the demo:https://stackblitz.com/edit/vitejs-vite-lxbksb
How can I update the cell value without closing the custom editor instead of updating the cell value after it is closed ? Really appreciate your help.

Hi @Dephie

In general setDataAtCell should be used in this case, but it seems that you are calling the reference to editor instance, and not the table. Here’s an example showing how to use reference to the table’s instance: https://handsontable.com/docs/react-data-grid/instance-methods/