# Drag and Drop an Item between Two KendoReact TreeLists

## Environment

<table>
	<tbody>
		<tr>
			<td>Product Version</td>
			<td>4.7.0</td>
		</tr>
		<tr>
			<td>Product</td>
			<td>Progress® KendoReact TreeList</td>
		</tr>
	</tbody>
</table>

## Description

How can I drag and drop item between two TreeList components?

## Solution

This requires the following:

1. Use the [rowRender](https://www.telerik.com/kendo-react-ui/components/treelist/api/treelistprops#rowrender) property of the TreeList to add the drag and drop events to the rows.
2. Save the dragged item in the state during the [onDragStart](https://developer.mozilla.org/en-US/docs/Web/API/Document/dragstart_event) event.
3. During the [onDrop](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ondrop) event update the data in both TreeList components.

This can be seen in action in the following example:

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/treelist/drag-and-drop/source.txt)
