summaryrefslogtreecommitdiffstats
path: root/client
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 /client
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 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java2
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,