summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorDenis <denis@vaadin.com>2017-02-08 14:55:11 +0200
committerHenri Sara <henri.sara@gmail.com>2017-02-08 14:55:11 +0200
commit40ab6dc0397f697001c3e05820863680fcac2e73 (patch)
treeb581899128d4a3361de93bfde27ab3a5755549ca /shared
parent0f97714b635174e4eabfbb5a708ffb366bfcadb4 (diff)
downloadvaadin-framework-40ab6dc0397f697001c3e05820863680fcac2e73.tar.gz
vaadin-framework-40ab6dc0397f697001c3e05820863680fcac2e73.zip
Provide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)
Fixes #8422
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java
index dda6d3fe9f..7b3e23959f 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java
@@ -46,6 +46,11 @@ public class SectionState implements Serializable {
* rows.
*/
public boolean defaultHeader = false;
+
+ /**
+ * The style name for the row. Null if none.
+ */
+ public String styleName = null;
}
/** The state of a header or footer cell. */