attachProgress

assigns handler for data saving actions

void attachProgress(function start,function end,function error);
startfunctionhandler will be called for data saving start
endfunctionhandler will be called for data saving end
errorfunctionhandler will be called for data saving error

Example

webix.dp($$("myview")).attachProgress(function(){
    webix.message("Saving...");
}, function(){
    webix.message("Saved!");
}, function(response){
    webix.message("Error!");
});

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.