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.

grid = new GridPanel();
GroupingView view = new GroupingView();
view.setForceFit(true);
view.setStartCollapsed(true);
view.setIgnoreAdd(true);
view.setGroupTextTpl(createView());
grid.setView(view);
grid.setAutoScroll(true);
grid.setStore(store); //GroupingStore created before
grid.setColumnModel(this.createColumnModel());
grid.setStripeRows(true);
grid.setAutoExpandColumn(COLUMN_EMPLOYEE);
grid.setTitle("Title");
grid.setAutoWidth(true);
grid.setAutoHeight(true);
grid.setEnableColumnHide(true);
grid.setEnableColumnMove(true);
grid.setLoadMask(true);
grid.setDisableSelection(true);


thank you very much for your time.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to