PDA

View Full Version : [CLOSED] Loading message



Zdenek
Dec 12, 2016, 8:13 AM
Hello

how to set kind of Loading mask over the container?
I found .setMasked method, but that one does not allow to display text

I need something like that, but with "Loading..." text inside

Thanks
Zdenek

fabricio.murta
Dec 12, 2016, 2:08 PM
Hello @Zdenek!

Check out this example:

- Mobile Examples - JSONP data loading (http://mobile.ext.net/#demo/jsonp)

This sets mask with custom wording. Here is more info on Ext.Component.masked (http://docs.sencha.com/extjs/6.0.2/modern/Ext.Container.html#cfg-masked).

Using Ext.LoadMask (http://docs.sencha.com/extjs/6.0.2/modern/Ext.LoadMask.html) may be a more generic approach, but basically, I don't see a problem customizing the load mask at all.

[edited out parts with references to Classic Ext.NET, which are not relevant to the thread. Sorry, had a filter on Sencha docs redirecting me to the classic components when I was searching the answer]

Hope this helps!

fabricio.murta
Jan 03, 2017, 9:36 PM
Hello @Zdenek!

Its been some time already and no feedback from you regarding this issue, do you still need assistance?

jirihost
Jan 04, 2017, 6:58 AM
Hello

I'm overtaking Zdenek's tasks and answer in this thread is perfect, thanks

fabricio.murta
Jan 05, 2017, 5:16 PM
Alright, thanks for your feedback!