summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-12-30 10:51:38 +0200
committerVaadin Code Review <review@vaadin.com>2016-01-07 08:46:25 +0000
commitbdec494f718d80cbd36363ce2e892647d31898d1 (patch)
tree3817bf717092c174c5ecb2f33daa9b57ec7fae81 /client
parentc8136d709d233db159bf14ab5b828084b7a190bc (diff)
downloadvaadin-framework-bdec494f718d80cbd36363ce2e892647d31898d1.tar.gz
vaadin-framework-bdec494f718d80cbd36363ce2e892647d31898d1.zip
Always set header/footer style name to TH (#19209)
Change-Id: I8d0240fb76b9841e7290bf13588975da20c78b62
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index 806bc6a220..80b20fa184 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -5592,6 +5592,7 @@ public class Grid<T> extends ResizeComposite implements
Element td = cell.getElement();
td.removeAllChildren();
+ setCustomStyleName(td, metadata.getStyleName());
Element content;
// Wrap text or html content in default header to isolate
@@ -5622,7 +5623,6 @@ public class Grid<T> extends ResizeComposite implements
} else {
content = td;
}
- setCustomStyleName(content, metadata.getStyleName());
switch (metadata.getType()) {
case TEXT: