summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeppo Kurki <teppo.kurki@vaadin.com>2015-07-03 11:42:35 +0000
committerTeppo Kurki <teppo.kurki@vaadin.com>2015-07-03 11:51:35 +0000
commitaecc8f5a42faa6ee461e879f552ced37d1a47d0d (patch)
treefda40a1e977e3bf6886c77c8845ff8aae9807cbf /client
parent2b255c73094fe4d785a225ca6334790b645b4b64 (diff)
downloadvaadin-framework-aecc8f5a42faa6ee461e879f552ced37d1a47d0d.tar.gz
vaadin-framework-aecc8f5a42faa6ee461e879f552ced37d1a47d0d.zip
Revert "Fixes non-editable column and selection visibility in editor"
This reverts commit 5460f5ec736f479795d3301acb73d62040c99311. Change-Id: I043e3db57b55694c6ef87751e487472a778c1b8a
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index eabe133fd1..5cbfd5ea75 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -1115,7 +1115,6 @@ public class Grid<T> extends ResizeComposite implements
private static final String ERROR_CLASS_NAME = "error";
private static final String NOT_EDITABLE_CLASS_NAME = "not-editable";
- private static final String CURRENTLY_EDITING_CLASS_NAME = "editing";
protected enum State {
INACTIVE, ACTIVATING, BINDING, ACTIVE, SAVING
@@ -1543,7 +1542,6 @@ public class Grid<T> extends ResizeComposite implements
TableRowElement tr = grid.getEscalator().getBody()
.getRowElement(rowIndex);
- tr.addClassName(CURRENTLY_EDITING_CLASS_NAME);
scrollHandler = grid.addScrollHandler(new ScrollHandler() {
@Override
@@ -1649,6 +1647,7 @@ public class Grid<T> extends ResizeComposite implements
if (editorOverlay.getParentElement() == null) {
return;
}
+
for (Widget w : columnToWidget.values()) {
setParent(w, null);
}
@@ -1657,10 +1656,6 @@ public class Grid<T> extends ResizeComposite implements
detachWidget(saveButton);
detachWidget(cancelButton);
- TableRowElement tr = grid.getEscalator().getBody()
- .getRowElement(rowIndex);
- tr.removeClassName(CURRENTLY_EDITING_CLASS_NAME);
-
editorOverlay.removeAllChildren();
cellWrapper.removeAllChildren();
editorOverlay.removeFromParent();