aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/com/vaadin/client/ui/VScrollTable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ui/VScrollTable.java b/client/src/com/vaadin/client/ui/VScrollTable.java
index 48fd85144f..d1d73f4e91 100644
--- a/client/src/com/vaadin/client/ui/VScrollTable.java
+++ b/client/src/com/vaadin/client/ui/VScrollTable.java
@@ -4232,8 +4232,8 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
// Already updated by setColWidth called from
// TableHeads.updateCellsFromUIDL in case of a server
// side resize
- final String width = col.getStringAttribute("width");
- c.setWidth(Integer.parseInt(width), true);
+ final int width = col.getIntAttribute("width");
+ c.setWidth(width, true);
}
} else if (recalcWidths) {
c.setUndefinedWidth();