# Tree View - Drag and drop function

**URL:** <https://forum.inductiveautomation.com/t/tree-view-drag-and-drop-function/17391>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [March 16, 2018, 12:30pm UTC](https://forum.inductiveautomation.com/t/tree-view-drag-and-drop-function/17391 "2018-03-16T12:30:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [March 16, 2018, 12:30pm UTC](https://forum.inductiveautomation.com/t/tree-view-drag-and-drop-function/17391/1 "2018-03-16T12:30:46Z")

</div>

**Ignition 7.9.4 and Java 1.8.0\_161-b12**

We are using Ignition’s Tree View component and trying to implement drag and drop functionality in same tree view. Our requirement is to pick a step from one location and move to other location in same tree view component.

As there is no drop event on the tree view component, we are trying to develop a python code referring attached java code.  
But we are not able to get some events like “canimportdata”, “importdata” and “droplocation” from tree view component.

[Java\_Code\_JTree\_DragAndDrop.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6fb0b683e4f1c6267d1360a6b113aec18b1baec9.txt) (9.4 KB)

Could you please let us know whether the Ignition’s tree view component is capable to handle such events or we need to explore another ways to achieve this requirement?
