summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-08-01 11:41:39 +0300
committerHenri Sara <henri.sara@gmail.com>2017-08-01 11:41:39 +0300
commit7cf466fa7f0a1fbf48664a6c8211809f9932a997 (patch)
tree20b03e17583c38479481a09013e9a4db360b7991 /client
parent2af2783f502aac67ff01460b4bd00cd5a2e8a88c (diff)
downloadvaadin-framework-7cf466fa7f0a1fbf48664a6c8211809f9932a997.tar.gz
vaadin-framework-7cf466fa7f0a1fbf48664a6c8211809f9932a997.zip
Add header and footer visibility setting to Grid (#9706)
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java b/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java
index 34913910cb..61c0957d03 100644
--- a/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java
+++ b/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java
@@ -343,6 +343,8 @@ public class GridConnector extends AbstractListingConnector
updateStaticRow(rowState, row);
}
+
+ grid.setHeaderVisible(state.visible);
}
@OnStateChange("rowHeight")
@@ -423,6 +425,8 @@ public class GridConnector extends AbstractListingConnector
updateStaticRow(rowState, row);
}
+
+ grid.setFooterVisible(state.visible);
}
@OnStateChange({ "sortColumns", "sortDirs" })