diff options
author | Denis Anisimov <denis@vaadin.com> | 2014-11-02 13:11:09 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-01-15 14:27:42 +0000 |
commit | 8212377595295b2f997733b24ae731d144ebe2bf (patch) | |
tree | 6a0c198b49b4c61c0c18da9647cf4b422d95ca12 /server/src/com/vaadin/ui/TreeTable.java | |
parent | 74aa5c73811658782624b1cb761533ae2e8040d8 (diff) | |
download | vaadin-framework-8212377595295b2f997733b24ae731d144ebe2bf.tar.gz vaadin-framework-8212377595295b2f997733b24ae731d144ebe2bf.zip |
ICON_ONLY mode should not show icon row header for TreeTable (#14799).
Change-Id: If854186547e3d7b8e67710113ec6754bc84ace2f
Diffstat (limited to 'server/src/com/vaadin/ui/TreeTable.java')
-rw-r--r-- | server/src/com/vaadin/ui/TreeTable.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/TreeTable.java b/server/src/com/vaadin/ui/TreeTable.java index 9bca20587b..63b54a6ced 100644 --- a/server/src/com/vaadin/ui/TreeTable.java +++ b/server/src/com/vaadin/ui/TreeTable.java @@ -411,6 +411,14 @@ public class TreeTable extends Table implements Hierarchical { } @Override + protected boolean rowHeadersAreEnabled() { + if (getRowHeaderMode() == RowHeaderMode.ICON_ONLY) { + return false; + } + return super.rowHeadersAreEnabled(); + } + + @Override public void changeVariables(Object source, Map<String, Object> variables) { super.changeVariables(source, variables); |