diff --git a/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java b/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java index 2a72224..36d0486 100644 --- a/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java +++ b/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java @@ -329,9 +329,9 @@ public class GxtBorderLayoutPanel extends ContentPanel { // disable table details and sampling buttons toolbar.disableButtonsOperationsOnTable(); - // clean the panel - centerBottom.removeAll(); - centerBottom.layout(true); + // clear the panel +// centerBottom.removeAll(); +// centerBottom.layout(true); // get the selected item List data = treePanel.getTreePanel().getSelectionModel() @@ -690,6 +690,12 @@ public class GxtBorderLayoutPanel extends ContentPanel { keyword = null; startSearchTable = false; if (selectedTable != null) { + + centerBottom.removeAll(); + centerBottom.layout(true); + centerUpper.removeAll(); + centerUpper.layout(true); + // display the table in the panel "Database Information" displayTableName(selectedTable); // fire event @@ -704,8 +710,8 @@ public class GxtBorderLayoutPanel extends ContentPanel { keyword = null; startSearchTable = false; // refresh the database information panel - centerUpper.removeAll(); - centerUpper.layout(true); +// centerUpper.removeAll(); +// centerUpper.layout(true); tablesLoaded.hide(); } });