Documentation

attachProgress

asssigns handler for data saving actions

void attachProgress(function start,function end,function error);

Parameters

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!");
});

Details

API is experimental and can be removed in next versions

Back to top