---
title: processListBoxDragAndDrop
description: "Learn how to build custom functionality when working with the React ListBox by Kendo UI with the help of the processListBoxDragAndDrop."
api_reference: true
type: inner_api
slug: api_listbox_processlistboxdraganddrop
---
# processListBoxDragAndDrop
Processes the data collections based on the dragged and dropped item.
#### Parameters
##### listBoxOneData
any[]
The first data collection.
##### listBoxTwoData
any[]
The second data collection. Pass an empty array if there is only one ListBox.
##### dragItem
any
The item that was dragged.
##### dropItem
any
The drop target item.
##### valueField
string
The field which points to the unique value of each data item.
#### Returns
{ listBoxOneData: any[]; listBoxTwoData: any[]; }
- The object that contains the new data collections.