diff options
author | Denis <denis@vaadin.com> | 2017-02-08 14:55:11 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-02-08 14:55:11 +0200 |
commit | 40ab6dc0397f697001c3e05820863680fcac2e73 (patch) | |
tree | b581899128d4a3361de93bfde27ab3a5755549ca /client | |
parent | 0f97714b635174e4eabfbb5a708ffb366bfcadb4 (diff) | |
download | vaadin-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 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java b/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java index 98622c2716..e6ec9b18dd 100644 --- a/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java @@ -30,7 +30,6 @@ import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.EventTarget; import com.google.gwt.dom.client.NativeEvent; import com.google.gwt.event.shared.HandlerRegistration; - import com.vaadin.client.ComponentConnector; import com.vaadin.client.ConnectorHierarchyChangeEvent; import com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler; @@ -341,6 +340,7 @@ public class GridConnector extends AbstractListingConnector updateStaticCellFromState(row.join(columns), cellGroupEntry.getKey()); } + row.setStyleName(rowState.styleName); } private void updateStaticCellFromState(Grid.StaticSection.StaticCell cell, |