Example usage for com.vaadin.ui Grid setHeaderVisible

List of usage examples for com.vaadin.ui Grid setHeaderVisible

Introduction

In this page you can find the example usage for com.vaadin.ui Grid setHeaderVisible.

Prototype

public void setHeaderVisible(boolean headerVisible) 

Source Link

Document

Sets the visibility of the Header in this Grid.

Usage

From source file:org.eclipse.hawkbit.ui.artifacts.upload.UploadProgressInfoWindow.java

License:Open Source License

private Grid createGrid() {
    final Grid statusGrid = new Grid(uploads);
    statusGrid.addStyleName(SPUIStyleDefinitions.UPLOAD_STATUS_GRID);
    statusGrid.setId(UIComponentIdProvider.UPLOAD_STATUS_POPUP_GRID);
    statusGrid.setSelectionMode(SelectionMode.NONE);
    statusGrid.setHeaderVisible(true);
    statusGrid.setImmediate(true);/*from  www.jav  a2  s.  co  m*/
    statusGrid.setSizeFull();
    return statusGrid;
}

From source file:org.eclipse.hawkbit.ui.artifacts.upload.UploadStatusInfoWindow.java

License:Open Source License

private Grid createGrid() {
    final Grid statusGrid = new Grid(uploads);
    statusGrid.addStyleName(SPUIStyleDefinitions.UPLOAD_STATUS_GRID);
    statusGrid.setSelectionMode(SelectionMode.NONE);
    statusGrid.setHeaderVisible(true);
    statusGrid.setImmediate(true);//w ww  .  j a  va2s. co  m
    statusGrid.setSizeFull();
    return statusGrid;
}