allows you to sync two copies of data (all or just a part of it) from one DataCollection to another
| source |
//full copy
$$('$richselect1').getList().data.sync(data);
//partial copy
$$('$richselect1').getList().data.sync(data, function(){
this.filter(function(data){
return data.year > 1994;
});
});
Pay attention that you need to call the getList() method to access the data collection of Combo and Richselect.