summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorTeppo Kurki <teppo.kurki@vaadin.com>2015-07-09 23:23:35 +0300
committerpatrik <patrik@vaadin.com>2015-08-05 12:36:42 +0300
commitf031c9a46c9d4b1eedb9e86c2e72ab97f5847593 (patch)
tree9eeee879bf0a5e2f77c77ad6d59f919313fb7623 /shared
parent4f3533115bae0acd251405a1c70feb8c62756c2f (diff)
downloadvaadin-framework-f031c9a46c9d4b1eedb9e86c2e72ab97f5847593.tar.gz
vaadin-framework-f031c9a46c9d4b1eedb9e86c2e72ab97f5847593.zip
Update Select all -CheckBox from server and partial selections (#17590)
Change-Id: Iab111504502dc104cb9ce8777dbaf87bba1e31a0
Diffstat (limited to 'shared')
-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);
}