summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2014-07-16 11:16:38 +0300
committerJohn Ahlroos <john@vaadin.com>2014-07-29 09:53:00 +0300
commitcfad6d54de44fead836ec9355bbc77c06fa26a40 (patch)
treef93d1813a1360d2a7890ddf3f95aea56fd8e7476 /shared
parentff310e8bdbfc773153e4faa9eb5749bb3e44700e (diff)
downloadvaadin-framework-cfad6d54de44fead836ec9355bbc77c06fa26a40.tar.gz
vaadin-framework-cfad6d54de44fead836ec9355bbc77c06fa26a40.zip
Client-side Grid header/footer rewrite: add default header support (#13334)
Currently supported: * Adding and removal of header and footer rows * Header is single-row by default * Footer is zero-row by default * Text captions * Showing and hiding the whole header or footer * Default header rows for sorting UI TODO: * Column spanning * HTML content * Widget content * Component content * Server side API * Shared state handling Change-Id: I3d6a2b75fad87780f83238ab792bbbcfe99a48fd
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java b/shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java
index 358c06d089..859e01f089 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridStaticSectionState.java
@@ -33,6 +33,8 @@ public class GridStaticSectionState implements Serializable {
public static class RowState implements Serializable {
public List<CellState> cells = new ArrayList<CellState>();
+
+ public boolean defaultRow = false;
}
public List<RowState> rows = new ArrayList<RowState>();