summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data
diff options
context:
space:
mode:
authorHenrik Paul <henrik@vaadin.com>2014-10-28 09:32:07 +0200
committerJohannes Dahlström <johannesd@vaadin.com>2014-11-06 11:38:04 +0000
commitfc8738c8de916ab56a7507e2a4eca2468a86f349 (patch)
treec1453e800dd73b5e870d93752e7770ccc9abec88 /server/src/com/vaadin/data
parent73ef2472580aaa5d1f1f394dd85fc3e4285d9865 (diff)
downloadvaadin-framework-fc8738c8de916ab56a7507e2a4eca2468a86f349.tar.gz
vaadin-framework-fc8738c8de916ab56a7507e2a4eca2468a86f349.zip
Fixes property change events after first render (#13334)
Change-Id: Ief2e1763c7764009e9244ae4334ccacacc3bb205
Diffstat (limited to 'server/src/com/vaadin/data')
-rw-r--r--server/src/com/vaadin/data/RpcDataProviderExtension.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/com/vaadin/data/RpcDataProviderExtension.java b/server/src/com/vaadin/data/RpcDataProviderExtension.java
index 8e98316d00..9744ed3b92 100644
--- a/server/src/com/vaadin/data/RpcDataProviderExtension.java
+++ b/server/src/com/vaadin/data/RpcDataProviderExtension.java
@@ -453,6 +453,10 @@ public class RpcDataProviderExtension extends AbstractExtension {
* the property ids that have been added to the container
*/
public void propertiesAdded(Collection<Object> addedPropertyIds) {
+ if (addedPropertyIds.isEmpty()) {
+ return;
+ }
+
for (int i = activeRange.getStart(); i < activeRange.getEnd(); i++) {
final Object itemId = container.getIdByIndex(i);
final Item item = container.getItem(itemId);
@@ -468,6 +472,8 @@ public class RpcDataProviderExtension extends AbstractExtension {
.addValueChangeListener(listener);
}
}
+
+ updateRowData(i);
}
}