diff options
Diffstat (limited to 'server/src/com/vaadin/data/RpcDataProviderExtension.java')
-rw-r--r-- | server/src/com/vaadin/data/RpcDataProviderExtension.java | 6 |
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); } } |