processListBoxDragAndDrop

Process the data collection/s based on the dragged and drop item.

Parameters

listBoxOneData

Array<any>

The first data collection.

listBoxTwoData

Array<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.