Minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widgetx@101686 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-11-24 10:56:11 +00:00 committed by Giancarlo Panichi
parent eb038e834f
commit 77ef279aad
1 changed files with 18 additions and 14 deletions

View File

@ -5,15 +5,14 @@ import com.sencha.gxt.widget.core.client.grid.LiveGridView;
/** /**
* *
* @author giancarlo * @author giancarlo email: <a
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> * href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
* *
* @param <M> * @param <M>
*/ */
public class ExtendedLiveGridView<M> extends LiveGridView<M> { public class ExtendedLiveGridView<M> extends LiveGridView<M> {
// TODO bug in gxt3 3.0.0 fixed in future // TODO bug in gxt3 3.0.0 fixed in future
@Override @Override
public void refresh(boolean headerToo) { public void refresh(boolean headerToo) {
preventScrollToTopOnRefresh = true; preventScrollToTopOnRefresh = true;
@ -24,7 +23,6 @@ public class ExtendedLiveGridView<M> extends LiveGridView<M> {
return preventScrollToTopOnRefresh; return preventScrollToTopOnRefresh;
} }
public void setPreventScrollToTopOnRefresh(boolean prevent) { public void setPreventScrollToTopOnRefresh(boolean prevent) {
preventScrollToTopOnRefresh = prevent; preventScrollToTopOnRefresh = prevent;
} }
@ -37,4 +35,10 @@ public class ExtendedLiveGridView<M> extends LiveGridView<M> {
cacheStore = list; cacheStore = list;
} }
/*
* Scroll key fixed in 3.1.1
*
*/
} }