Hi,
On the client side, all changes are registered one by one.
So the first option is just to gather updates manually in some variable.
A second solution suits most of all for sending data to the server-side.
By default, DataProcessor (a module which handles data saving) processes each update separately. If you need to gather the data and send all updates in one request, instead of manual gathering you can use a custom proxy object which will do the trick:
webix.proxy.all = {
$proxy:true,
//send all changed records to server
saveAll:function(view, updates, dp, callback){
webix.ajax().post(this.source, {data:updates}, callback);
},
//process common response on client
result:function(state, view, dp, text, data, loader){
data = data.json();
for(var i = 0; i<data.length; i++){
dp.processResult(data[i], data[i], {text:text, data:data, loader:loader})
}
}
};
https://webix.com/snippet/481b9b6f (as the real backend of this sample will not process the data, server response is emulated)
In such case, the data will be sent as one bunch.