summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorTeppo Kurki <teppo.kurki@vaadin.com>2015-05-25 12:09:23 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2015-05-26 08:25:22 +0000
commit469a53e1256f143f506f8a3b59ef7fc505353495 (patch)
tree44ade1bd574e3c97e752dd4fcc324201cda0f438 /shared
parentfad6e73e62c53802092e824c67dd901e73683e6a (diff)
downloadvaadin-framework-469a53e1256f143f506f8a3b59ef7fc505353495.tar.gz
vaadin-framework-469a53e1256f143f506f8a3b59ef7fc505353495.zip
Add unbuffered editing mode to Grid
Save and cancel buttons are hidden and the backing field group is set to unbuffered mode. Change-Id: I7da46ae3f1b84cc5ac8c918be38919962aff88ed
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridState.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridState.java b/shared/src/com/vaadin/shared/ui/grid/GridState.java
index bb35659591..3faa4b441c 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridState.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridState.java
@@ -154,6 +154,10 @@ public class GridState extends TabIndexState {
/** The enabled state of the editor interface */
public boolean editorEnabled = false;
+ /** Buffered editor mode */
+ @DelegateToWidget
+ public boolean editorBuffered = true;
+
/** Whether row data might contain generated row styles */
public boolean hasRowStyleGenerator;
/** Whether row data might contain generated cell styles */