Synchronizing datatables

Hi all,

I have two separate datatables that I would like get get synchronized with each other. They currently use the same but independent data objects which can be confusing both for me and the user. I’ve tried using $$(…).data.sync($$(…)) as well as even double binding, but I can’t get it to work for some reason. The data objects contain the same information so I don’t know why this wouldn’t be working. I must be missing something basic here.

Any help would be appreciated here. Thanks!

Using the next must be enough

$$("table1").parse(data);
$$("table2").sync($$("table1"));

Now both tables must share the same data. Any update in one of tables will be reflected in the other.

As alternative, you can use a DataCollection and sync two table to the datacollection object.