@@ -0,0 +1,1057 @@
+package com.vaadin.tests.components.table;%0D%0A%0D%0Aimport com.vaadin.tests.components.TestBase;%0D%0Aimport com.vaadin.ui.Table;%0D%0A%0D%0Apublic class ColumnCollapsingAndColumnExpansion extends TestBase %7B%0D%0A%0D%0A    @Override%0D%0A    public void setup() %7B%0D%0A%0D%0A        Table t = new Table();%0D%0A%0D%0A        t.addContainerProperty(%22Col1%22, String.class, null);%0D%0A        t.addContainerProperty(%22Col2%22, String.class, null);%0D%0A        t.addContainerProperty(%22Col3%22, String.class, null);%0D%0A        t.setColumnCollapsingAllowed(true);%0D%0A%0D%0A        t.setSizeFull();%0D%0A%0D%0A        for (int y = 1; y %3C 5; y++) %7B%0D%0A            t.addItem(new Object%5B%5D %7B %22cell %22 + 1 + %22-%22 + y,%0D%0A                    %22cell %22 + 2 + %22-%22 + y, %22cell %22 + 3 + %22-%22 + y, %7D,%0D%0A                    new Object());%0D%0A        %7D%0D%0A%0D%0A        addComponent(t);%0D%0A%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected String getDescription() %7B%0D%0A        return %22After hiding column 2 the remaining columns (1 and 3) should use all available space in the table%22;%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected Integer getTicketNumber() %7B%0D%0A        return 3246;%0D%0A    %7D%0D%0A%7D%0D%0A

Test case for #3246