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:
Giancarlo Panichi 2014-05-02 13:37:04 +00:00 committed by Giancarlo Panichi
parent ee90102458
commit 836a33a7ba
1 changed files with 11 additions and 8 deletions

View File

@ -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());
} }