]> source.dussan.org Git - vaadin-framework.git/commitdiff
MAJOR: Changed defaults from pagelen 0 -> 15 and col header mode hidden -> exp.def.if
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Mon, 19 Feb 2007 13:30:53 +0000 (13:30 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Mon, 19 Feb 2007 13:30:53 +0000 (13:30 +0000)
svn changeset:736/svn branch:toolkit

src/com/itmill/toolkit/ui/Table.java

index 5e4a3abaacbdaff79fe6f50d98e12a9d867bf053..2374d3af30b15b08f0828f1fecfc8440b69209b9 100644 (file)
@@ -190,7 +190,7 @@ public class Table extends Select implements Action.Container,
     private HashMap columnAlignments = new HashMap();
 
     /** Holds value of property pageLength. 0 disables paging. */
-    private int pageLength = 0;
+    private int pageLength = 15;
 
     /** Id the first item on the current page. */
     private Object currentPageFirstItemId = null;
@@ -205,7 +205,7 @@ public class Table extends Select implements Action.Container,
     private boolean selectable = false;
 
     /** Holds value of property columnHeaderMode. */
-    private int columnHeaderMode = COLUMN_HEADER_MODE_HIDDEN;
+    private int columnHeaderMode = COLUMN_HEADER_MODE_EXPLICIT_DEFAULTS_ID;
 
     /** True iff the row captions are hidden. */
     private boolean rowCaptionsAreHidden = true;