Combo sync bug?

Hi all,
check this: https://snippet.webix.com/eumbvblv

combo correctly sync with remapped datacollection but when I click to select item in the list box, I get “script error”.

Filter does not work either.

Am I wrong?

Thanks

Hi,

IDs are not really changed that way, they are special data fields for Webix logic that loads and processes data. To check that this is true, you can check out data after they have been parsed into the component:

dc.waitData.then(() => {
  console.log(dc.data.pull);
});

To really change IDs, use changeId. And you should use scheme for that.

var dc = new webix.DataCollection({
  scheme:{
    $init: obj => {
      this.changeId(obj.id, obj.Codice);
    }
  },
});

https://snippet.webix.com/c8jhumlm

Thank you very much for the answer but filter does not work yet.

Hello, @codejoin

Please, check this example: Code Snippet

My bad, thank you