I’m trying to extend my Webix Jet application to use ProgressBar when loading data. I tried extending the app or the “top” but would get errors when I try to show the progress bar.
So, I am now extending each sub-view with ProgressBar. It works, but I don’t see the dark overlay over the view.
Are there any examples of using ProgressBar with Webix Jet?
By default, there’s no overlay while data is loading.
You can reach it by using $$("app").disable();
, as shown in the following sample:
http://docs.webix.com/samples/19_api/05_progress_app.html
That can be implemented within $oninit
as
$oninit:function(view){
var top = view.getTopParentView();
webix.extend(top, webix.ProgressBar);
top.disable();
top.showProgress();
webix.delay(function(){
view.parse(records.data);
top.hideProgress();
top.enable();
}, null, null, 1000)
}