This sample demonstrates the drag and drop functionalities of a ListBox. Select and drag an item and drop it within the same list box or into another list box.
The ListBox component allows the user to drag and drop a desired item from one list box into another list box. The drag and drop feature can be enabled by using the following properties,
AllowDragAndDropproperty should be set to
Scopeproperty should be set to both the listboxes.
In this sample, a list of countries is loaded in Group A and another list of countries is loaded in Group B. You can drag and drop an item or multiple items from
Group A to Group B, and vice versa. By clicking update button, user can save the changes to the corresponding JSON using Datamanager
More information about drag and drop functionalities in the ListBox can be found in the documentation section.