We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Listview reorder items by Drag / Drop

How can you make the ListView control so that you can reorder items by dragging and dropping them?

Thanks
Mike

3 Replies

MR Mohan Ravi Syncfusion Team September 23, 2019 08:33 AM UTC

Hi Michael, 

Currently Listview does not have drag and drop feature but you can utilize ListBox component which very similar to Listview and it has drag and drop support. I have also attached a sample using ListBox with Drag and Drop. Please find it in the below link. 


Regards, 
Mohan 



ML Michael Lambert September 24, 2019 12:09 AM UTC

Thanks that worked.
One other question, what would be the best way to submit the new reorder list back to a function.  Say once a user made changes to the list, they pushed a button at the bottom that submitted the reordered list back to a function?

Thanks,
Mike


SP Sangeetha Priya Murugan Syncfusion Team September 24, 2019 01:36 PM UTC

Hi Michael, 
 
Thank you for your update. 
 
We have checked your reported requirement and we have considered this as an improvement “Need to provide option for getting the reordered list in ListBox”. We have planned to include the fix in our upcoming by-weekly release. Which is expected to be available in mid of next month, we appreciate your patience until then. You can track the status of this defect using below link from our feedback portal,  
 
 
Please let me know if you have any questions. 
 
Regards, 
Sangeetha M 


Loader.
Live Chat Icon For mobile
Up arrow icon