diff options
author | Adam Wagner <wbadam@users.noreply.github.com> | 2017-04-30 19:43:08 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2017-04-30 20:43:08 +0300 |
commit | 84d7ad78d47b998ed6b7f91d2f51d587aa1c7274 (patch) | |
tree | 1cf2ce7e26950253e5e3c7701521b9c07065765c | |
parent | 0f3cc0674f31f96c303740f93d5d17e14cad5b0b (diff) | |
download | vaadin-framework-84d7ad78d47b998ed6b7f91d2f51d587aa1c7274.tar.gz vaadin-framework-84d7ad78d47b998ed6b7f91d2f51d587aa1c7274.zip |
Add note that multiple selection drags only visible rows (#9093) (#9198)
-rw-r--r-- | documentation/advanced/advanced-dragndrop.asciidoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/documentation/advanced/advanced-dragndrop.asciidoc b/documentation/advanced/advanced-dragndrop.asciidoc index 963a7a034d..732b020806 100644 --- a/documentation/advanced/advanced-dragndrop.asciidoc +++ b/documentation/advanced/advanced-dragndrop.asciidoc @@ -153,6 +153,11 @@ It is possible to drag and drop the rows of a Grid component. This allows reorde A Grid component's rows can be made draggable by applying [classname]#GridDragSource# extension to the component. The extended Grid's rows become draggable, meaning that each row can be grabbed and moved by the mouse individually. When the Grid's selection mode is `SelectionMode.MULTI` and multiple rows are selected, it is possible to drag all the visible selected rows by grabbing one of them. However, when the grabbed row is not selected, only that one row will be dragged. +[NOTE] +==== +It is important to note that when dragging multiple rows, only the visible selected rows will be set as dragged data. +==== + The following example shows how you can define the allowed drag effect and customize the drag data with the drag data generator. [source,java] |