From 6b516328cee87c97ef28e305250890c7e3c94eeb Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 25 Jul 2011 14:15:48 +0000 Subject: [PATCH] Added button for pagelength 0 svn changeset:19928/svn branch:6.7 --- .../tests/components/treetable/KeepAllItemsVisible.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/src/com/vaadin/tests/components/treetable/KeepAllItemsVisible.java b/tests/src/com/vaadin/tests/components/treetable/KeepAllItemsVisible.java index a55869667b..ad0255a2da 100644 --- a/tests/src/com/vaadin/tests/components/treetable/KeepAllItemsVisible.java +++ b/tests/src/com/vaadin/tests/components/treetable/KeepAllItemsVisible.java @@ -61,6 +61,13 @@ public class KeepAllItemsVisible extends TestBase implements ExpandListener, } }); addComponent(b); + b = new Button("Set pagelength to 0", new Button.ClickListener() { + + public void buttonClick(ClickEvent event) { + tt.setPageLength(0); + } + }); + addComponent(b); } private void recalculatePageLength(TreeTable tt) { -- 2.39.5