Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widgetx@95306 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ee90102458
commit
836a33a7ba
|
@ -657,14 +657,6 @@ public class TabularDataXGridPanel extends ContentPanel {
|
||||||
container.add(toolBar,
|
container.add(toolBar,
|
||||||
new VerticalLayoutData(1, 25, new Margins(0)));
|
new VerticalLayoutData(1, 25, new Margins(0)));
|
||||||
|
|
||||||
container.forceLayout();
|
|
||||||
|
|
||||||
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
|
||||||
|
|
||||||
public void execute() {
|
|
||||||
container.forceLayout();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
loader.load(0, liveGridView.getCacheSize());
|
loader.load(0, liveGridView.getCacheSize());
|
||||||
|
|
||||||
|
@ -720,6 +712,17 @@ public class TabularDataXGridPanel extends ContentPanel {
|
||||||
grid.getView().setViewConfig(null);
|
grid.getView().setViewConfig(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
container.forceLayout();
|
||||||
|
|
||||||
|
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
||||||
|
|
||||||
|
public void execute() {
|
||||||
|
container.forceLayout();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
eventBus.fireEvent(new GridReadyEvent());
|
eventBus.fireEvent(new GridReadyEvent());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue