setDataAtCell with function data source

Tags: #<Tag:0x00007f8b25f51830>

Can I use setDataAtCell with a function data source?

I want to notify the grid when changes are made in the source data from a background ajax request. No cells are added or removed but the value of the cells will have changed.

I’m using hot.updateSettings() for any cell change and that seems to do what is needed

Hey @chris2

Yes, you can use a function as well. Here’s an example https://jsfiddle.net/AMBudnik/mko9f40L/

How does that work with a function data source like https://handsontable.com/docs/7.0.2/tutorial-data-sources.html#page-property-schema?

Here is an example for using the loadData instead https://jsfiddle.net/handsoncode/n387p0cs/
When it comes to your example (link) it also works for the normal setDataAtCell. Have you found it not working in your project?

I believe that we can close the topic as there is no rely for 3 weeks. However, if you still need some guidance let me know.