# Drag and Drop Items from KendoReact ListView to KendoReact Scheduler

## Environment

<table>
    <tbody>
	    <tr>
	    	<td>Product Version</td>
	    	<td>7.0.2</td>
	    </tr>
	    <tr>
	    	<td>Product</td>
	    	<td>Progress® KendoReact ListView and Progress® KendoReact Scheduler</td>
	    </tr>
    </tbody>
</table>

## Description

Looking for a drag and drop between KendoReact ListView and KendoReact Scheduler. I want to transfer items from the ListView to the Scheduler.

## Solution

To enable drag and drop functionality between a KendoReact ListView and a KendoReact Scheduler, follow these steps:

1. Render a custom ListView item by using the [`item`](https://www.telerik.com/kendo-react-ui/components/listview/api/ListViewProps/#item) prop. This allows you to make the row draggable and obtain the currently dragged item.
2. Add an `onDropEvent` to the Scheduler container using the [component ref](https://react.dev/reference/react/useRef).
3. When the user drops an item, add it to the Scheduler data by updating the state.

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/scheduler/dnd-from-listview/source.txt)

## Notes

* Make sure to install the required dependencies, such as `react-dnd`, `@progress/kendo-react-listview`, and `@progress/kendo-react-scheduler`.
* Refer to the official documentation for more information on the `DragSource` and `useRef` APIs.
* Adjust the code according to your specific use case and requirements.

## See Also

* [KendoReact ListView Documentation](https://www.telerik.com/kendo-react-ui/components/listview/)
* [KendoReact Scheduler Documentation](https://www.telerik.com/kendo-react-ui/components/scheduler/)
