private int firstvisible = 0;
private boolean sortAscending;
private String sortColumn;
+ private String oldSortColumn;
private boolean columnReordering;
/**
if (BrowserInfo.get().isIE8() && !enabled) {
/*
- * The disabled shim will not cover the table body if it is
- * relative in IE8. See #7324
+ * The disabled shim will not cover the table body if it is relative
+ * in IE8. See #7324
*/
scrollBodyPanel.getElement().getStyle()
.setPosition(Position.STATIC);
.getIntAttribute("tabindex") : 0;
setProperTabIndex();
+ resizeSortedColumnForSortIndicator();
+
rendering = false;
headerChangedDuringUpdate = false;
}
private void updateSortingProperties(UIDL uidl) {
- String oldSortColumn = sortColumn;
+ oldSortColumn = sortColumn;
if (uidl.hasVariable("sortascending")) {
sortAscending = uidl.getBooleanVariable("sortascending");
sortColumn = uidl.getStringVariable("sortcolumn");
}
+ }
+ private void resizeSortedColumnForSortIndicator() {
// Force recalculation of the captionContainer element inside the header
// cell to accomodate for the size of the sort arrow.
HeaderCell sortedHeader = tHead.getHeaderCell(sortColumn);