]> source.dussan.org Git - vaadin-framework.git/commitdiff
Add note that multiple selection drags only visible rows (#9093) (#9198)
authorAdam Wagner <wbadam@users.noreply.github.com>
Sun, 30 Apr 2017 17:43:08 +0000 (19:43 +0200)
committerPekka Hyvönen <pekka@vaadin.com>
Sun, 30 Apr 2017 17:43:08 +0000 (20:43 +0300)
documentation/advanced/advanced-dragndrop.asciidoc

index 963a7a034d4225a849075e17377b0af524dab313..732b0208066a8df3742c774c98d6a1ed985998c1 100644 (file)
@@ -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]