Hello there,
since quite a while now, our dev team started migrating the handsontable version we use in our application, from 7 to 8. Due to some issues we couldn’t do the update and as time passed we tried to make the update to version 9, than to version 10, and finally to version 11.1 . Now version 12 is out, however, we would really want to make the update to 11.1 first and have it in production.
The current thing I am facing is the difference between updateData and loadData method. I have read the documentation and I think I have a somewhat clear ideea about these 2 methods. In our app we only use this kind of methods to improve performance and to not have to reload the whole table at each and every external change or side effect changes (when changing a cell result in changing another cell as well). This means that loadData defeats the purpose of our use cases. Having this in mind I understand that in theory, update data should work for data updates, however, I also need a way of removing and adding a row from the table, and so far I wasn’t able to do that with the updateData method. Could you please assist? What options do I have for implementing this desired behaviour?
Please have a look at the js fiddle from bellow. There you can see the update data works perfect when you change directly the object from the table, and also that removing and adding a new row to the table works fine with the usage of the loadData method, but it doesn’t work with updateData.
https://jsfiddle.net/fgkvLz1t/21/
Thank you in advance for your help!
Marius Comiati