Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problems masking a grid panel

 
Cristina Hernandez
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.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic