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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Listview reorder items by Drag / Drop

Thread ID:

Created:

Updated:

Platform:

Replies:

147724 Sep 21,2019 07:38 PM UTC Sep 24,2019 01:36 PM UTC Blazor 3
loading
Tags: ListView
Michael Lambert
Asked On September 21, 2019 07:38 PM UTC

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

Thanks
Mike

Mohan Ravi [Syncfusion]
Replied On 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 


Michael Lambert
Replied On 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

Sangeetha Priya Murugan [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon