summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/TreeTable.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/TreeTable.java')
-rw-r--r--server/src/com/vaadin/ui/TreeTable.java8
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);