13 Apr 2012 10:11 AM #1
Unanswered: Add progressbar during application loading
My application spends more then 5s before that the login page appears, and I want to add a progressbar that appears during consumed time, how I can do this in ExtJS 4.x ?
If it isn't possible, so how to to add a simple load mask ?
Thanks in advance.
14 Apr 2012 4:07 AM #2
Adding a mask is really easy.
As soon as possible (before your app launches) try to grab the HTML body (or whatever element is appropriate) and wrap it as an Ext.Element. Then call mask().
It's easy to then unmask later.Arthur Kay
Senior Software Engineer, Sencha Inc.
Twitter | Sencha Chicago User Group
15 Apr 2012 2:43 PM #3
Thanks arthurakay for your reply, can you share a sample of code, I mean specially where I can put the mask() to start the mask and where I can put the unmask() to to stop the mask ?