diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-01-11 16:56:39 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-01-11 16:56:39 +0000 |
commit | 2747e58fbfd76e0996c40e4f8c314578029c1623 (patch) | |
tree | bb24841d4cd5efe7ead900ac6bcaeacdd1a8b1f8 /server | |
parent | 060932a923a37a49b79f3b8fbd3fecccb465f0b3 (diff) | |
parent | 08b7ea5b1f9a4f5d31b5559d557d36727ea1d26e (diff) | |
download | vaadin-framework-2747e58fbfd76e0996c40e4f8c314578029c1623.tar.gz vaadin-framework-2747e58fbfd76e0996c40e4f8c314578029c1623.zip |
Merge "Merge of (#9133) to Vaadin 7."
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/ui/Table.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Table.java b/server/src/com/vaadin/ui/Table.java index 57f196d704..e73c6d7188 100644 --- a/server/src/com/vaadin/ui/Table.java +++ b/server/src/com/vaadin/ui/Table.java @@ -4427,9 +4427,12 @@ public class Table extends AbstractSelect implements Action.Container, final Container c = getContainerDataSource(); if (c instanceof Container.Sortable) { final int pageIndex = getCurrentPageFirstItemIndex(); + boolean refreshingPreviouslyEnabled = disableContentRefreshing(); ((Container.Sortable) c).sort(propertyId, ascending); setCurrentPageFirstItemIndex(pageIndex); - refreshRowCache(); + if (refreshingPreviouslyEnabled) { + enableContentRefreshing(true); + } } else if (c != null) { throw new UnsupportedOperationException( |