how can i custom dropdownlist template as a dropable list?

we want to drop dropDownList item, then we can re-order the items, just like listbox:

https://ej2.syncfusion.com/angular/documentation/list-box/drag-and-drop/


thank you


1 Reply

SP Sureshkumar P Syncfusion Team May 10, 2022 12:33 PM UTC

We validated the shared requirement. It is not possible to have drag and drop (reorder) values in the dropdown list component. if you click on the dropdown list item, the value is selected and updated in the input box. Also, we have
sortOrder
API, but using this API you can only sort the values either in ascending or descending order.

API:
https://ej2.syncfusion.com/angular/documentation/api/drop-down-list/#sortorder

Hence we suggest you use the Listbox component which has support to drag an item or a group of selected items and drop it within the same list box.


Loader.
Up arrow icon