summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAdam Wagner <wbadam@users.noreply.github.com>2017-05-21 21:23:47 +0300
committerPekka Hyvönen <pekka@vaadin.com>2017-05-21 21:23:47 +0300
commitdb713ec87ab182181f64e233ca29e5dc48dc41e5 (patch)
treee36a772128f80abd33861f9910fd0cd04aafebf5 /documentation
parentd4e66c2c3a33461ecfbc44cc2d0b7254e2567f82 (diff)
downloadvaadin-framework-db713ec87ab182181f64e233ca29e5dc48dc41e5.tar.gz
vaadin-framework-db713ec87ab182181f64e233ca29e5dc48dc41e5.zip
Add style name to all dragged rows (#9388)
* Add style name to all dragged rows to indicate that they are being dragged
Diffstat (limited to 'documentation')
-rw-r--r--documentation/advanced/advanced-dragndrop.asciidoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/documentation/advanced/advanced-dragndrop.asciidoc b/documentation/advanced/advanced-dragndrop.asciidoc
index f9e21fbb5c..10d4ce2b01 100644
--- a/documentation/advanced/advanced-dragndrop.asciidoc
+++ b/documentation/advanced/advanced-dragndrop.asciidoc
@@ -298,6 +298,8 @@ The dragged rows can be accessed from both events using the `getDraggedItems()`
A drag source Grid's rows have the `v-grid-row-dragsource` and the `v-draggable` style names applied to indicate that the rows are draggable.
+Additionally, the style name `v-grid-row-dragged` is applied to all the dragged rows during the drag start event and removed during the drag end event.
+
=== Grid as a Drop Target
To make a Grid component's rows accept a drop event, apply the [classname]#GridDropTarget# extension to the component. When creating the extension, you need to specify where the transferred data can be dropped on.