Updated Border
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widgetx@100615 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3b7275bcb4
commit
7c99aa5412
|
@ -62,6 +62,7 @@ import com.sencha.gxt.data.shared.loader.LoadResultListStoreBinding;
|
|||
import com.sencha.gxt.data.shared.loader.PagingLoadResult;
|
||||
import com.sencha.gxt.data.shared.loader.PagingLoader;
|
||||
import com.sencha.gxt.widget.core.client.ContentPanel;
|
||||
import com.sencha.gxt.widget.core.client.container.MarginData;
|
||||
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer;
|
||||
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData;
|
||||
import com.sencha.gxt.widget.core.client.event.HeaderContextMenuEvent;
|
||||
|
@ -137,10 +138,16 @@ public class TabularDataXGridPanel extends ContentPanel {
|
|||
super();
|
||||
this.tdSessionId = tdSessionId;
|
||||
this.eventBus = eventBus;
|
||||
setBodyBorder(false);
|
||||
setBorders(false);
|
||||
setHeaderVisible(false);
|
||||
forceLayoutOnResize=true;
|
||||
setResize(true);
|
||||
bindEventBus();
|
||||
container = new VerticalLayoutContainer();
|
||||
|
||||
setWidget(container);
|
||||
container.setBorders(false);
|
||||
add(container,new MarginData(0));
|
||||
//setWidget(container);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -743,6 +750,7 @@ public class TabularDataXGridPanel extends ContentPanel {
|
|||
grid.setLoadMask(true);
|
||||
grid.setLoader(loader);
|
||||
grid.setView(liveGridView);
|
||||
grid.setBorders(false);
|
||||
|
||||
// TODO disabled editing rows
|
||||
/*
|
||||
|
@ -776,7 +784,7 @@ public class TabularDataXGridPanel extends ContentPanel {
|
|||
toolBar.getElement().getStyle().setProperty("borderBottom", "none");
|
||||
|
||||
container.add(toolBar,
|
||||
new VerticalLayoutData(1, 25, new Margins(0)));
|
||||
new VerticalLayoutData(1, 24, new Margins(0)));
|
||||
|
||||
container.forceLayout();
|
||||
|
||||
|
|
Loading…
Reference in New Issue