scroll mode removed for the tree panel (because the scroll of the panel that contains the tree is used)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98634 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8085d50fec
commit
4882ab9bcf
|
@ -13,6 +13,8 @@ import org.gcube.portlets.user.databasesmanager.client.datamodel.Result;
|
|||
import org.gcube.portlets.user.databasesmanager.client.events.LoadTablesEvent;
|
||||
import org.gcube.portlets.user.databasesmanager.client.events.SelectedItemEvent;
|
||||
import org.gcube.portlets.user.databasesmanager.client.utils.ConstantsPortlet;
|
||||
|
||||
import com.extjs.gxt.ui.client.Style.Scroll;
|
||||
import com.extjs.gxt.ui.client.Style.SelectionMode;
|
||||
import com.extjs.gxt.ui.client.event.ComponentEvent;
|
||||
import com.extjs.gxt.ui.client.event.EventType;
|
||||
|
@ -71,6 +73,9 @@ public class GxtTreePanel extends LayoutContainer {
|
|||
eventBus = eBus;
|
||||
|
||||
store = new TreeStore<FileModel>();
|
||||
|
||||
//remove the scroll mode.
|
||||
this.setScrollMode(Scroll.NONE);
|
||||
|
||||
this.initLayout();
|
||||
|
||||
|
@ -129,6 +134,8 @@ public class GxtTreePanel extends LayoutContainer {
|
|||
};
|
||||
|
||||
treePanel.setDisplayProperty("name");
|
||||
|
||||
|
||||
|
||||
// load the root
|
||||
loadRootItemTree();
|
||||
|
|
Loading…
Reference in New Issue