Browse Source

#7790 Reverted sort methods to call refreshRenderedCells instead of refreshRowCache

svn changeset:21887/svn branch:6.7
tags/7.0.0.alpha1
Artur Signell 12 years ago
parent
commit
772b0005b8
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      src/com/vaadin/ui/Table.java

+ 6
- 4
src/com/vaadin/ui/Table.java View File

@@ -4012,8 +4012,9 @@ public class Table extends AbstractSelect implements Action.Container,

if (doSort) {
sort();
// Assures the visual refresh
refreshRowCache();
// Assures the visual refresh. This should not be necessary as
// sort() calls refreshRowCache
refreshRenderedCells();
}
}
}
@@ -4050,10 +4051,11 @@ public class Table extends AbstractSelect implements Action.Container,
sortAscending = ascending;
if (doSort) {
sort();
// Assures the visual refresh. This should not be necessary as
// sort() calls refreshRowCache
refreshRenderedCells();
}
}
// Assures the visual refresh
refreshRowCache();
}

/**

Loading…
Cancel
Save