allows syncing two copies of data (all or just a part of it) from one DataCollection to another

void sync(object source, [function filter,boolean silent] );
sourceobjectthe object that the method is assigned to
filterfunctionthe filtering function
silentbooleanif you set the parameter to `true`, the object won't be repainted after synchronization


// full copy
// partial copy
$$("dview").data.sync(data, function(){
    this.filter(function(data) {
        return data.year > 1994;

Related samples

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix popular javascript framework and page of javascript menu library product.