From: Joonas Lehtinen Date: Mon, 19 Feb 2007 13:30:53 +0000 (+0000) Subject: MAJOR: Changed defaults from pagelen 0 -> 15 and col header mode hidden -> exp.def.if X-Git-Tag: 6.7.0.beta1~6569 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=14a6c825facee63f8fdd3bc92a0689a946d11526;p=vaadin-framework.git MAJOR: Changed defaults from pagelen 0 -> 15 and col header mode hidden -> exp.def.if svn changeset:736/svn branch:toolkit --- diff --git a/src/com/itmill/toolkit/ui/Table.java b/src/com/itmill/toolkit/ui/Table.java index 5e4a3abaac..2374d3af30 100644 --- a/src/com/itmill/toolkit/ui/Table.java +++ b/src/com/itmill/toolkit/ui/Table.java @@ -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;