Posted 24 August 2018, 6:34 am EST
I’ve been playing around with the SpreadJS + VueJS sample project and noticed that any attempts to update the ```
dataSource
Forums Home / Spread / SpreadJS
Posted by: carl.masri on 24 August 2018, 6:34 am EST
Posted 24 August 2018, 6:34 am EST
I’ve been playing around with the SpreadJS + VueJS sample project and noticed that any attempts to update the ```
dataSource
Posted 27 August 2018, 10:43 pm EST
Hello,
You can just refresh the SpreadJS layout by calling refresh() method. Please provide me your sample application in case this does not resolve your issue.
Thanks,
Deepak Sharma
Posted 18 September 2018, 3:19 am EST
Doesn’t that defeat the whole purpose of using VueJS and it’s reactivity system?
Posted 19 September 2018, 11:04 pm EST
Hello,
SpreadJS Vue example sample uses Vue 2.5.2. In Vue2, all bindings are one-way. This is a change from Vue 1, where two-way bindings could be created by adding the “.sync” suffix to any attribute.
You may refer to the documentation given here for Vue:
https://vuejs.org/v2/guide/list.html#Caveats
Thanks,
Deepak Sharma