From e813c97e0bdc00c5542c9bf0f55eef65f34ac093 Mon Sep 17 00:00:00 2001 From: Artur Date: Tue, 13 Mar 2018 14:03:29 +0200 Subject: Setting of tooltips for grid header/footer cells (#10489) Fixes #7527 --- shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'shared/src/main') diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java index a76c6927b6..ba9a44677e 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java @@ -23,6 +23,7 @@ import java.util.Map; import java.util.Set; import com.vaadin.shared.Connector; +import com.vaadin.shared.ui.ContentMode; /** * Shared state for Grid headers and footers. @@ -75,6 +76,12 @@ public class SectionState implements Serializable { /** The id of the column that this cell belongs to. */ public String columnId; + + /** The tooltip for the cell */ + public String description; + + /** The content mode for the tooltip for the cell */ + public ContentMode descriptionContentMode = ContentMode.TEXT; } /** The rows in this section. */ -- cgit v1.2.3