Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-extractcodelist-widget@111518 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-01-28 17:26:21 +00:00
parent 76f530a8d9
commit ed4a01f8fe
2 changed files with 19 additions and 6 deletions

View File

@ -39,16 +39,22 @@ import com.sencha.gxt.widget.core.client.grid.ColumnConfig;
import com.sencha.gxt.widget.core.client.grid.ColumnModel;
import com.sencha.gxt.widget.core.client.grid.Grid;
/**
*
* @author giancarlo
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public class ColumnDataGridPanel extends ContentPanel implements
HasSelectionHandlers<ColumnData> {
protected static final int GRIDHEIGHT = 360;
private static final int GRIDHEIGHT = 360;
protected static final ColumnDataProperties props = GWT
private static final ColumnDataProperties props = GWT
.create(ColumnDataProperties.class);
protected final CheckBoxSelectionModel<ColumnData> sm;
private final CheckBoxSelectionModel<ColumnData> sm;
protected final Grid<ColumnData> grid;
private final Grid<ColumnData> grid;
private WizardCard parent;
@ -113,7 +119,8 @@ public class ColumnDataGridPanel extends ContentPanel implements
VerticalLayoutContainer con = new VerticalLayoutContainer();
con.setScrollMode(ScrollMode.AUTO);
con.add(grid, new VerticalLayoutData(-1, -1, new Margins(0)));
con.add(grid, new VerticalLayoutData(1, -1, new Margins(0)));
setWidget(con);
}

View File

@ -7,6 +7,12 @@ import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;
/**
*
* @author giancarlo
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public interface ColumnDataProperties extends
PropertyAccess<ColumnData> {