5 May 2012 2:12 PM #1
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:
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.
11 Feb 2014 1:56 PM #8
Any update on this issue. I wanted to add a loading mask on text field. I have managed to make change and add loading icon.
What I want is separate loading mask per component. For Grid default is fine but for text field it is too big. There are no way to separate an UI.