• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

problems masking a grid panel

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Cristina Hernandez
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It will give me the powers of the gods. Not bad for a tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!