diff options
-rw-r--r-- | client/src/com/vaadin/client/widgets/Grid.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java index 065ba411d8..1304c40030 100644 --- a/client/src/com/vaadin/client/widgets/Grid.java +++ b/client/src/com/vaadin/client/widgets/Grid.java @@ -5586,6 +5586,11 @@ public class Grid<T> extends ResizeComposite implements initialWidth = col.getWidthActual(); for (Column<?, T> c : getColumns()) { + if (selectionColumn == c) { + // Don't modify selection column. + continue; + } + if (c.getWidth() < 0) { c.setWidth(c.getWidthActual()); fireEvent(new ColumnResizeEvent<T>( |