Sync Datatable with different Backbone.Collection

Hi,

  1. I have 3 Datatable synced with different Backbone.Collection (Sectors, Atoms1, Connections1)

  2. Second datatable need to sync with another Backbone.Collection (Atoms2) after select some row in first Datatable

  3. I think Datatable bind to bData so many times events (change, remove, …) how many I call sync with Backbone.Collection

How can I be in this situation? May be some reset, unsync or other

Starting from Webix 1.8 components has “unsync” api, that can be used to revert “sync” operations. Unfortunately it does work only for webix components and can’t be used with backbone collections.

I think we can extend existing logic of backbone integration in the similar way.

I modified unsync function and callback for onSyncUnknown to support Backbone.Collection in Datatable unsync.

http://webix.com/snippet/f284b7cd

Thanks for the code. We will include the similar update in the next build.