File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes problems masking a grid panel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "problems masking a grid panel" Watch "problems masking a grid panel" New topic
Author

problems masking a grid panel

Cristina Hernandez
Greenhorn

Joined: Nov 01, 2010
Posts: 4
Hello everyone,

I have a problem when I want to mask a grid panel the first time is loading.

I create a tab that has this grid and this page takes many minutes to load, so I want to apply the mask on it.
If I try to mask the tab, I can't obviously because it isn't completely created. I put the variable of the grid like this:
grid.setLoadMask(true);

but it isn't work.

I post some code to help to solve my problem.


thank you very much for your time.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10170
    
    8

Looks like you are using GWT-Ext. Not having worked with GWT-Ext I cannot offer any suggestions for it.
However, you might want to consider GWT LazyPanel or something like a GlassPanel
I personally would prefer the LazyPanel as the glass panel will block all user interaction with the whole UI.

In future, while posting code, please UseCodeTags
I have edited out your original post this time. As you can see the code tags make the code much more readable and easy to understand.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Cristina Hernandez
Greenhorn

Joined: Nov 01, 2010
Posts: 4
The problem is that I work with 1.5 version of gwt and I can't update because of technical requirements, but thanks for the answer
 
Consider Paul's rocket mass heater.
 
subject: problems masking a grid panel
 
Similar Threads
JTextFormatted TextField
how to change border color of grid layout in a panel
session and new view creation
Problems using JTabbedPane In a GUI application
TabPanel Horizontal scroll issues