aboutsummaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-03-23 15:28:37 +0200
committerHenri Sara <henri.sara@gmail.com>2017-03-23 15:28:37 +0200
commit6384bc7dee5ccbaaafbbf569b758b3e6fd8a2c8b (patch)
tree419be55a19b6c4ef65876392b6e31091e1ff5c28 /shared/src
parent17b3f23b0e526250dc134df1f7d2e6cd7f149ba5 (diff)
downloadvaadin-framework-6384bc7dee5ccbaaafbbf569b758b3e6fd8a2c8b.tar.gz
vaadin-framework-6384bc7dee5ccbaaafbbf569b758b3e6fd8a2c8b.zip
Add feature to disable collapsing items in TreeGrid (#8879)
Fixes #8846
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/treegrid/TreeGridCommunicationConstants.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/treegrid/TreeGridCommunicationConstants.java b/shared/src/main/java/com/vaadin/shared/ui/treegrid/TreeGridCommunicationConstants.java
index c3bd0bbd91..0e678aeb3a 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/treegrid/TreeGridCommunicationConstants.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/treegrid/TreeGridCommunicationConstants.java
@@ -20,7 +20,7 @@ import java.io.Serializable;
/**
* Set of contants used by TreeGrid. These are commonly used JsonObject keys
* which are considered to be reserved for internal use.
- *
+ *
* @author Vaadin Ltd
* @since 8.1
*/
@@ -29,4 +29,5 @@ public class TreeGridCommunicationConstants implements Serializable {
public static final String ROW_DEPTH = "d";
public static final String ROW_COLLAPSED = "c";
public static final String ROW_LEAF = "l";
+ public static final String ROW_COLLAPSE_ALLOWED = "ca";
}