PDA

View Full Version : Loading mask applies on all screen instead of only component



guys2008
28 Jul 2009, 12:28 PM
Hey everyone,

I'm trying to mask an HtmlContainer while it loads an html from a site and sets it.
Once I'm masking the object, it greys the whole screen and not only the HtmlContainer part.

Is there any way to mask only the container??

Thanks!

The_Jackal
28 Jul 2009, 8:49 PM
I mask components with component.mask(message);

I do this with ContentPanels and it works fine.

mdelanno
30 Jul 2009, 12:01 AM
mask works only with elements which accept child nodes, because it insert some div in the element. If the element is a TR for example, the div is put in the body by the browser and then, it's the body which is masked.