From 77ef279aad7265875efa9ed700dc8b96c5617fea Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Mon, 24 Nov 2014 10:56:11 +0000 Subject: [PATCH] Minor update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widgetx@101686 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/config/ExtendedLiveGridView.java | 32 +++++++++++-------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/tdwx/client/config/ExtendedLiveGridView.java b/src/main/java/org/gcube/portlets/user/tdwx/client/config/ExtendedLiveGridView.java index ef87d55..63b519e 100644 --- a/src/main/java/org/gcube/portlets/user/tdwx/client/config/ExtendedLiveGridView.java +++ b/src/main/java/org/gcube/portlets/user/tdwx/client/config/ExtendedLiveGridView.java @@ -5,36 +5,40 @@ import com.sencha.gxt.widget.core.client.grid.LiveGridView; /** * - * @author giancarlo - * email: g.panichi@isti.cnr.it + * @author giancarlo email: g.panichi@isti.cnr.it * * @param */ public class ExtendedLiveGridView extends LiveGridView { // TODO bug in gxt3 3.0.0 fixed in future - @Override public void refresh(boolean headerToo) { preventScrollToTopOnRefresh = true; super.refresh(headerToo); } - - public boolean getPreventScrollToTopOnRefresh(){ + + public boolean getPreventScrollToTopOnRefresh() { return preventScrollToTopOnRefresh; } - - - public void setPreventScrollToTopOnRefresh(boolean prevent ){ - preventScrollToTopOnRefresh=prevent; + + public void setPreventScrollToTopOnRefresh(boolean prevent) { + preventScrollToTopOnRefresh = prevent; } - - public ListStore getCacheStore(){ + + public ListStore getCacheStore() { return cacheStore; } - - public void setCacheStore(ListStore list){ - cacheStore=list; + + public void setCacheStore(ListStore list) { + cacheStore = list; } + + /* + * Scroll key fixed in 3.1.1 + * + */ + } \ No newline at end of file