summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorHenrik Paul <henrik@vaadin.com>2014-09-25 15:49:21 +0300
committerHenrik Paul <henrik@vaadin.com>2014-10-03 13:07:23 +0300
commit8b22659b5bd965290dbb71b636d503ed58d75b72 (patch)
tree63179b1a90bbf4f56d11da30f5008278cc3ab95c /shared
parentb473ad8eca45f375485fc4f80b140de80a0ab994 (diff)
downloadvaadin-framework-8b22659b5bd965290dbb71b636d503ed58d75b72.tar.gz
vaadin-framework-8b22659b5bd965290dbb71b636d503ed58d75b72.zip
Grid now supports bare ItemSetChangeEvents (#13334)
Change-Id: Id87b2d7f50720bbfd5011520ea0be32fead48635
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/data/DataProviderRpc.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/data/DataProviderRpc.java b/shared/src/com/vaadin/shared/data/DataProviderRpc.java
index 21e299e68b..043818d573 100644
--- a/shared/src/com/vaadin/shared/data/DataProviderRpc.java
+++ b/shared/src/com/vaadin/shared/data/DataProviderRpc.java
@@ -73,4 +73,16 @@ public interface DataProviderRpc extends ClientRpc {
* the number of rows inserted at <code>firstRowIndex</code>
*/
public void insertRowData(int firstRowIndex, int count);
+
+ /**
+ * Resets all data and defines a new size for the data.
+ * <p>
+ * This should be used in the cases where the data has changed in some
+ * unverifiable way. I.e. "something happened". This will lead to a
+ * re-rendering of the current Grid viewport
+ *
+ * @param size
+ * the size of the new data set
+ */
+ public void resetDataAndSize(int size);
}