From 8fbd9973b76d92391ac5185c95d34455a08e8202 Mon Sep 17 00:00:00 2001 From: Johannes Dahlström Date: Tue, 16 Dec 2014 14:04:04 +0200 Subject: Remove unused "header-active" classname and style (#13334) Change-Id: I11de89a69161d9b355d0de63b8a61470259b518e --- client/src/com/vaadin/client/widgets/Grid.java | 9 --------- 1 file changed, 9 deletions(-) (limited to 'client') diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java index bbdaec8994..af9c04a773 100644 --- a/client/src/com/vaadin/client/widgets/Grid.java +++ b/client/src/com/vaadin/client/widgets/Grid.java @@ -1483,13 +1483,6 @@ public class Grid extends ResizeComposite implements cellWithFocusStyle = null; } } - - if (cellContainer == escalator.getHeader() - || cellContainer == escalator.getFooter()) { - // Correct header and footer column also needs highlighting - setStyleName(cell.getElement(), headerFooterFocusStyleName, - columnHasFocus); - } } /** @@ -2399,7 +2392,6 @@ public class Grid extends ResizeComposite implements private String rowSelectedStyleName; private String cellFocusStyleName; private String rowFocusStyleName; - private String headerFooterFocusStyleName; /** * Current selection model. @@ -3435,7 +3427,6 @@ public class Grid extends ResizeComposite implements * merged. */ cellFocusStyleName = getStylePrimaryName() + "-cell-active"; - headerFooterFocusStyleName = getStylePrimaryName() + "-header-active"; rowFocusStyleName = getStylePrimaryName() + "-row-active"; if (isAttached()) { -- cgit v1.2.3