]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added button for pagelength 0
authorArtur Signell <artur.signell@itmill.com>
Mon, 25 Jul 2011 14:15:48 +0000 (14:15 +0000)
committerArtur Signell <artur.signell@itmill.com>
Mon, 25 Jul 2011 14:15:48 +0000 (14:15 +0000)
svn changeset:19928/svn branch:6.7

tests/src/com/vaadin/tests/components/treetable/KeepAllItemsVisible.java

index a55869667bc45c2005476f5ae74543f24439ee1e..ad0255a2da8489c1c8da53413c4fcdcaf58da280 100644 (file)
@@ -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) {