New to KendoReact? Learn about KendoReact Free.
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.