Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
This repository was archived by the owner on Dec 31, 2020. It is now read-only.

Table doesn't work in Vaadin 7 #9

@mauretto79

Description

@mauretto79

private ComponentContainer createPanelContentC() {
VerticalLayout layout = new VerticalLayout();
layout.setWidth("100%");
layout.setMargin(true);
layout.setSpacing(true);

 Label label = new Label ("Table is quite broken in Vaadin 7?");
 layout.addComponent(label);

 Table table = new Table();
 table.setWidth("400px");
 table.setHeight("500px");
 table.addContainerProperty("Name", String.class, "");
 table.addContainerProperty("Phone Number", String.class, "");
 table.addItem(new Object[] { "Matti Meikäläinen", "555 234 2344" },
 "Matti");
 table.addItem(new Object[] { "Donald Duck", "555 332 7782" }, "Donald");

 layout.addComponent(table);

 return layout;

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions