View Full Version : How to show blocking "Loading..." for some particular panel?

28 Oct 2009, 7:33 PM
What I have:
I use Border layout with West + Center + South.
In center panel I have a grid.
When user select some row in grid I load details data and show them on South panel.

What I need:
I want to display blocking "Loading..." or something similar over South panel when details information is loading.
Now I simply disable South panel during loading. But it does not look very nice.
Basically, I need something to block user from clicking on South panel and indicate user that he/she needs to wait a little bit.
Stnadard WAIT MessageBox does not help me because it block all page, not just specific panel.

28 Oct 2009, 10:20 PM
in order to be able to dispay a blocking loading over south panel
just use south.mask("Type the message to be displayed");
but when your data is loaded use south.unmask()

28 Oct 2009, 10:57 PM
I'd block the whole screen or panel with grid too to disable user to select another record before first one is shown.
Take a look at MessageBox.progress()

29 Oct 2009, 8:30 AM
Estefan, thanks a lot. mask/unmask exactly what I wanted.

Mel, thank you. I'll consider using wait massageBox.