]> source.dussan.org Git - vaadin-framework.git/commitdiff
Changed table defaults to be more sane
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Mon, 29 Jan 2007 16:09:51 +0000 (16:09 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Mon, 29 Jan 2007 16:09:51 +0000 (16:09 +0000)
svn changeset:363/svn branch:toolkit

src/com/itmill/toolkit/demo/features/FeatureTable.java

index 03aca0ce6b4157167495ed5cb474050d201f9d43..60064302ed0f0d6a28d2067d2fe548fff758d913 100644 (file)
@@ -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;
        }