summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java16
1 files changed, 16 insertions, 0 deletions
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 55a8df99b8..39d2d2f2e9 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
@@ -21,6 +21,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import com.vaadin.shared.Connector;
+
/**
* Shared state for Grid headers and footers.
*
@@ -45,9 +47,23 @@ public class SectionState implements Serializable {
/** The state of a header or footer cell. */
public static class CellState implements Serializable {
+ public GridStaticCellType type = GridStaticCellType.TEXT;
+
+ /** The style name for this cell. Null if none. */
+ public String styleName = null;
+
/** The textual caption of this cell. */
public String text;
+ /** The html content of this cell. */
+ public String html;
+
+ /**
+ * The connector for the component that is set to be displayed in this
+ * cell. Null if none.
+ */
+ public Connector connector = null;
+
/** The id of the column that this cell belongs to. */
public String columnId;
}