Share data between components

How can I share data between two lists, so when I update one, the other automatically updates, using Webix Jet.

I have tried a few different approaches using a shared datacollection and an array.
I tried syncing and parsing each datatable with the collection/array.

When I update one, the nothing happens on the other.

Maybe there is no two way data binding?

Comments

  • Hey @Splay,

    When I update one, the nothing happens on the other.

    Provided that you are performing operations on your DataCollection and not the views themselves, the changes should be reflected in both of the synchronized views: https://snippet.webix.com/o0u5x7ja. Please note that both view have to be synchronized with the same DataCollection (via the sync() method). You can read more about Data Synching in this article.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion