processListBoxDragAndDrop
Function
Definition
Package:@progress/kendo-react-listbox
Processes the data collections based on the dragged and dropped item.
Parameters:listBoxOneDataany[]
The first data collection.
listBoxTwoDataany[]The second data collection. Pass an empty array if there is only one ListBox.
dragItemanyThe item that was dragged.
dropItemanyThe drop target item.
valueFieldstringThe field which points to the unique value of each data item.
Returns:{ listBoxOneData: any[]; listBoxTwoData: any[] }
- The object that contains the new data collections.