In a datatable, is there any way to prevent table save when using updateItem? I’m using updateItem to change formatting on the fly as well as showing temporary data, and a server call would be redundant. Or is there another way to update datatable cell content?
function test(){
var row = 2;
var table = $$('table');
var copy = table.getItem(row); //get original item
copy['year'] = 'XXXXXX';
//table.updateItem(row, copy);
table.refresh(row)
}
There’s a more conventional way to mute DataProcessor for any save operation (update, insert , delete):
webix.dp("table").ignore(function(){
$$("table").updateItem(...);
});
Please check the related documentation by the link.