summaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
authorTeppo Kurki <teppo.kurki@vaadin.com>2015-07-09 23:23:35 +0300
committerVaadin Code Review <review@vaadin.com>2015-08-05 07:29:09 +0000
commit3c7eab0d5810a16a31778b22af22e8a34251db1a (patch)
tree019b5857978e7b690ef292fc30ccc3e4d86959e9 /shared/src
parentf6d075df5207e02b3e96a35943c022c2c2f29bc1 (diff)
downloadvaadin-framework-3c7eab0d5810a16a31778b22af22e8a34251db1a.tar.gz
vaadin-framework-3c7eab0d5810a16a31778b22af22e8a34251db1a.zip
Update Select all -CheckBox from server and partial selections (#17590)
Change-Id: I8f4986455029fc3b997ec5fee8916fa118a487ca
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridClientRpc.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridClientRpc.java b/shared/src/com/vaadin/shared/ui/grid/GridClientRpc.java
index ac1b1d5a78..cf4e95d078 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridClientRpc.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridClientRpc.java
@@ -55,4 +55,15 @@ public interface GridClientRpc extends ClientRpc {
* Command client Grid to recalculate column widths.
*/
public void recalculateColumnWidths();
+
+ /**
+ * Informs the Grid that all items have been selected or not selected on the
+ * server side.
+ *
+ * @since
+ * @param allSelected
+ * <code>true</code> to check the select all checkbox,
+ * <code>false</code> to uncheck it.
+ */
+ public void setSelectAll(boolean allSelected);
}