fother
26 Jan 2009, 3:45 AM
if you add this code in the class com.extjs.gxt.samples.client.examples.tree.TreeTableExample
loader.addListener(Loader.BeforeLoad, new Listener<BaseEvent>() {
public void handleEvent(BaseEvent be) {
if (table.el() != null) {
table.el().mask(GXT.MESSAGES.loadMask_msg());
}
}
});
loader.addListener(Loader.Load, new Listener<BaseEvent>() {
public void handleEvent(BaseEvent be) {
if (table.el() != null) {
table.el().unmask();
}
}
});
you can see that the mask disappears before that the data render in the treetable..
have other way to do this?
loader.addListener(Loader.BeforeLoad, new Listener<BaseEvent>() {
public void handleEvent(BaseEvent be) {
if (table.el() != null) {
table.el().mask(GXT.MESSAGES.loadMask_msg());
}
}
});
loader.addListener(Loader.Load, new Listener<BaseEvent>() {
public void handleEvent(BaseEvent be) {
if (table.el() != null) {
table.el().unmask();
}
}
});
you can see that the mask disappears before that the data render in the treetable..
have other way to do this?