diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2017-11-16 14:05:12 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-11-16 14:05:12 +0200 |
commit | ce3efd94b34c77ce470af291c501d679e2872cdd (patch) | |
tree | f5763b7ec7b44c63cc27aa3d3d8f13d579e81e95 /shared | |
parent | 5548c5bca76504e642f543b007687beefce210a3 (diff) | |
download | vaadin-framework-ce3efd94b34c77ce470af291c501d679e2872cdd.tar.gz vaadin-framework-ce3efd94b34c77ce470af291c501d679e2872cdd.zip |
Add documentation on GridDragger (#10328)
This pathc also switches GridDragger to by default not allow drops on rows when the
grid has been sorted.
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/grid/DropMode.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/DropMode.java b/shared/src/main/java/com/vaadin/shared/ui/grid/DropMode.java index 1dbafbcbc0..927cbb7516 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/DropMode.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/DropMode.java @@ -55,6 +55,9 @@ public enum DropMode { * event will not contain any target row information. This is the drop * target used when the grid is completely empty. It can also be configured * to be used automatically when the user has sorted the grid. + * <p> + * When this mode is used, it also recommended to automatically scroll the + * dropped data (new rows) to be visible for the user. * * @since 8.2 */ |