@@ -0,0 +1,2229 @@
+package com.itmill.toolkit.tests.components.table;%0D%0A%0D%0Aimport com.itmill.toolkit.data.Item;%0D%0Aimport com.itmill.toolkit.data.util.IndexedContainer;%0D%0Aimport com.itmill.toolkit.tests.components.TestBase;%0D%0Aimport com.itmill.toolkit.ui.Button;%0D%0Aimport com.itmill.toolkit.ui.HorizontalLayout;%0D%0Aimport com.itmill.toolkit.ui.Table;%0D%0Aimport com.itmill.toolkit.ui.Button.ClickEvent;%0D%0A%0D%0Apublic class RowAdditionTest extends TestBase %7B%0D%0A%0D%0A    @Override%0D%0A    protected String getDescription() %7B%0D%0A        return %22Adding a row should refresh client area only if newly added row is in the rendered area.%22;%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected Integer getTicketNumber() %7B%0D%0A        return new Integer(2799);%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected void setup() %7B%0D%0A        final Table table = new Table();%0D%0A        final IndexedContainer container = (IndexedContainer) table%0D%0A                .getContainerDataSource();%0D%0A        table.addContainerProperty(%22column1%22, String.class, %22test%22);%0D%0A%0D%0A        for (int i = 0; i %3C 100; ++i) %7B%0D%0A            table.addItem();%0D%0A        %7D%0D%0A%0D%0A        HorizontalLayout hl = new HorizontalLayout();%0D%0A        hl.addComponent(new Button(%22Add first%22, new Button.ClickListener() %7B%0D%0A            public void buttonClick(ClickEvent event) %7B%0D%0A                Item item = container.addItemAt(0, new Object());%0D%0A                item.getItemProperty(%22column1%22).setValue(%220%22);%0D%0A            %7D%0D%0A        %7D));%0D%0A        hl.addComponent(new Button(%22Add at position 50%22,%0D%0A                new Button.ClickListener() %7B%0D%0A                    public void buttonClick(ClickEvent event) %7B%0D%0A                        Item item = container.addItemAt(50, new Object());%0D%0A                        item.getItemProperty(%22column1%22).setValue(%2250%22);%0D%0A                    %7D%0D%0A                %7D));%0D%0A        hl.addComponent(new Button(%22Add at position 100%22,%0D%0A                new Button.ClickListener() %7B%0D%0A                    public void buttonClick(ClickEvent event) %7B%0D%0A                        Item item = container.addItemAt(100, new Object());%0D%0A                        item.getItemProperty(%22column1%22).setValue(%22100%22);%0D%0A                    %7D%0D%0A                %7D));%0D%0A%0D%0A        getLayout().addComponent(table);%0D%0A        getLayout().addComponent(hl);%0D%0A    %7D%0D%0A%7D%0D%0A

Test case that was missing from merge of #2799 to 6.0.