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:
parent
eb038e834f
commit
77ef279aad
|
@ -5,36 +5,40 @@ import com.sencha.gxt.widget.core.client.grid.LiveGridView;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author giancarlo
|
||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
* @author giancarlo email: <a
|
||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
*
|
||||
* @param <M>
|
||||
*/
|
||||
public class ExtendedLiveGridView<M> extends LiveGridView<M> {
|
||||
// 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<M> getCacheStore(){
|
||||
|
||||
public ListStore<M> getCacheStore() {
|
||||
return cacheStore;
|
||||
}
|
||||
|
||||
public void setCacheStore(ListStore<M> list){
|
||||
cacheStore=list;
|
||||
|
||||
public void setCacheStore(ListStore<M> list) {
|
||||
cacheStore = list;
|
||||
}
|
||||
|
||||
/*
|
||||
* Scroll key fixed in 3.1.1
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue