From 14a6c825facee63f8fdd3bc92a0689a946d11526 Mon Sep 17 00:00:00 2001 From: Joonas Lehtinen Date: Mon, 19 Feb 2007 13:30:53 +0000 Subject: [PATCH] MAJOR: Changed defaults from pagelen 0 -> 15 and col header mode hidden -> exp.def.if svn changeset:736/svn branch:toolkit --- src/com/itmill/toolkit/ui/Table.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5