This fixes an IE8 issue where multisorting is not shown correctly.
Change-Id: Id68103f06baf9e3ae20cb2714407b467829ef1a0
if (SortDirection.ASCENDING == sortingOrder.getDirection()) {
cellElement.addClassName("sort-asc");
- if (!sortedBefore) {
- verifyColumnWidth(column);
- }
} else {
cellElement.addClassName("sort-desc");
- if (!sortedBefore) {
- verifyColumnWidth(column);
- }
}
int sortIndex = Grid.this.getSortOrder().indexOf(sortingOrder);
cellElement.setAttribute("sort-order",
String.valueOf(sortIndex + 1));
}
+
+ if (!sortedBefore) {
+ verifyColumnWidth(column);
+ }
}
/**