From 6ed5f2a0df068dba713d8e24dc9f78e2a0829a73 Mon Sep 17 00:00:00 2001 From: Adam Wagner Date: Wed, 28 Jun 2017 10:29:57 +0200 Subject: Create drag source and drop target extensions for tree grid (#9463) Resolves #9372 --- documentation/advanced/advanced-dragndrop.asciidoc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'documentation/advanced') diff --git a/documentation/advanced/advanced-dragndrop.asciidoc b/documentation/advanced/advanced-dragndrop.asciidoc index 8aa18b72ac..47f63a74d9 100644 --- a/documentation/advanced/advanced-dragndrop.asciidoc +++ b/documentation/advanced/advanced-dragndrop.asciidoc @@ -361,6 +361,11 @@ When dragging on top of a row, `v-grid-row-drag-center` indicates ON_TOP, `v-gri (((range="endofrange", startref="term.advanced.dragndrop"))) +=== Drag and Drop Rows in TreeGrid + +To make the rows of a TreeGrid component draggable or to make them a drop target, apply [classname]#TreeGridDragSource# or [classname]#TreeGridDropTarget# extensions to the component, respectively. +In addition to the drag and drop features for Grid above, [classname]#TreeGridDropEvent# provides information about the status of the node (expanded or collapsed) and its depth in the hierarchy. + == Drag and Drop Files Files can be uploaded to the server by dropping them onto a file drop target. To make a component a file drop target, apply the [classname]#FileDropTarget# extension to it by creating a new instance and passing the component as first constructor parameter to it. -- cgit v1.2.3