diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/widgets/Grid.java | 2 |
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: |