diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-29 16:09:51 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-01-29 16:09:51 +0000 |
commit | 3e09aaecffa1a5041277a72c93732137c85f2a34 (patch) | |
tree | 86a8600a2fc6563f1c3c9218d3ec35e0d1c3558b /src/com | |
parent | 7edf8bc34e6d28a9253a952c3d12b99aca103124 (diff) | |
download | vaadin-framework-3e09aaecffa1a5041277a72c93732137c85f2a34.tar.gz vaadin-framework-3e09aaecffa1a5041277a72c93732137c85f2a34.zip |
Changed table defaults to be more sane
svn changeset:363/svn branch:toolkit
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/itmill/toolkit/demo/features/FeatureTable.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeatureTable.java b/src/com/itmill/toolkit/demo/features/FeatureTable.java index 03aca0ce6b..60064302ed 100644 --- a/src/com/itmill/toolkit/demo/features/FeatureTable.java +++ b/src/com/itmill/toolkit/demo/features/FeatureTable.java @@ -164,6 +164,12 @@ public class FeatureTable extends Feature implements Action.Handler { p.addProperties("Table Properties", ap); l.addComponent(p); + t.setRowHeaderMode(Table.ROW_HEADER_MODE_EXPLICIT_DEFAULTS_ID); + t.setColumnHeaderMode(Table.COLUMN_HEADER_MODE_EXPLICIT_DEFAULTS_ID); + t.setColumnCollapsingAllowed(true); + t.setColumnReorderingAllowed(true); + t.setSelectable(true); + return l; } |