diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-11-21 13:19:29 +0200 |
---|---|---|
committer | Henrik Paul <henrik@vaadin.com> | 2014-11-25 13:15:29 +0000 |
commit | 93436e79914c6d922c80efa387e8c539c68a68fc (patch) | |
tree | a9115e6e534dd2a2c628261ed05c87f53d1c6b03 /shared | |
parent | ab9aa7a27ac9dff880f3b0e0b2fa6868cd7dfe4a (diff) | |
download | vaadin-framework-93436e79914c6d922c80efa387e8c539c68a68fc.tar.gz vaadin-framework-93436e79914c6d922c80efa387e8c539c68a68fc.zip |
Fix Grid server-side header merging and setup (#13334)
This implements simple error handling for broken headers and footers in
client side.
Change-Id: Ic1f1709720fa0b85e5c4c807462a9f9c7eb6f00e
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java b/shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java index 3dde4989b8..5a04bb2558 100644 --- a/shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java +++ b/shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java @@ -17,7 +17,10 @@ package com.vaadin.shared.ui.grid; import java.io.Serializable; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; +import java.util.Set; import com.vaadin.shared.Connector; @@ -46,7 +49,10 @@ public class GridStaticSectionState implements Serializable { public boolean defaultRow = false; - public List<List<String>> cellGroups = new ArrayList<List<String>>(); + /** + * Map from column id set to cell state for merged state. + */ + public Map<Set<String>, CellState> cellGroups = new HashMap<Set<String>, CellState>(); } public List<RowState> rows = new ArrayList<RowState>(); |