diff options
author | Henri Sara <henri.sara@itmill.com> | 2010-07-23 07:46:12 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2010-07-23 07:46:12 +0000 |
commit | d9139fcd93e0a23d021cd2ad5c8f3c7fdc097182 (patch) | |
tree | 0b6494ca8be06e24745529088ded416a1075dd3c /src/com | |
parent | c4929b40d7e5b7899232f7beaf6f2ce51b99ec1b (diff) | |
download | vaadin-framework-d9139fcd93e0a23d021cd2ad5c8f3c7fdc097182.tar.gz vaadin-framework-d9139fcd93e0a23d021cd2ad5c8f3c7fdc097182.zip |
#5374 Table column reordering could not be disabled once enabled
svn changeset:14309/svn branch:6.4
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java index 497e96c51c..96af63c739 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java @@ -17,13 +17,13 @@ import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.NativeEvent; import com.google.gwt.dom.client.NodeList; import com.google.gwt.dom.client.Style; -import com.google.gwt.dom.client.TableCellElement; -import com.google.gwt.dom.client.TableRowElement; -import com.google.gwt.dom.client.TableSectionElement; import com.google.gwt.dom.client.Style.Display; import com.google.gwt.dom.client.Style.Position; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.dom.client.Style.Visibility; +import com.google.gwt.dom.client.TableCellElement; +import com.google.gwt.dom.client.TableRowElement; +import com.google.gwt.dom.client.TableSectionElement; import com.google.gwt.event.dom.client.BlurEvent; import com.google.gwt.event.dom.client.BlurHandler; import com.google.gwt.event.dom.client.FocusEvent; @@ -714,6 +714,8 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, if (uidl.hasVariable("columnorder")) { columnReordering = true; columnOrder = uidl.getStringArrayVariable("columnorder"); + } else { + columnReordering = false; } if (uidl.hasVariable("collapsedcolumns")) { |