-
5 May 2012 2:12 PM #1
How to use the Loading Mask for normal Components?
How to use the Loading Mask for normal Components?
In GXT 2.2.5, to show the little loading graphic in the mask message area, I could do something like this:
I cannot figure out how to accomplish this in GXT 3. I see an interface called Mask, but it's not documented and I don't know what it does. Can someone give me a hint on how to create a mask that shows the loading graphic in GXT 3? Thanks.Code:comp.mask("Loading...", "x-mask-loading")
-
6 May 2012 6:31 AM #2
GXT 3 still has a mask method on the Component level. Only the second argument is not longer availalble. What problem do you have exactly with this method?
-
6 May 2012 6:33 AM #3
I can show the basic mask without the loading graphic (as in the Grid component), but I cannot override the style to show the loading graphic for an arbitrary component since the extra argument for style is missing. I'd like to mask any component and have it show the loading graphic.
-
6 May 2012 6:47 AM #4
Moving this thread to the bugs forum.
We should add another API for this as it was possible in GXT2 very easily.
-
6 May 2012 6:49 AM #5
Sounds good, thanks. Even better would be to simply have a "loadingMask" method.
-
6 May 2012 6:57 AM #6
A loadingMask mathod does not fully fit into the hole API. It should be another appearance.
-
10 May 2012 1:56 PM #7
Thanks for bringing up this use case. I've filed a ticket against the team to discuss the API for making this use case possible.
You found a bug! We've classified it as
EXTGWT-2083
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote