Topic: Drag and Drop Sortable List Delete Item

solzbacher priority asked 1 year ago


I am using a sortable drag and drop list with divs as sortable items. When deleting the sortable-item div using JS element.remove(), it appears again as an empty div once I drag another item. Is there a way to delete an item from the sortable list, similarly to how items can be added? I have seen there is a public dispose() function in the Sortable class, however I struggle to understand how to apply this, if it is even possible.


Michał Duszak staff answered 1 year ago


Hello, unfortunately there is no method to remove an item from the Sortable list. But I will add this Idea to our list.


BaseCloud priority commented 8 months ago

Hello? How is there still no solution to this? Very basic functionality. Not happy with my subscription. So many limitations.


Grzegorz Bujański staff commented 8 months ago

We will add removeItem method as soon as possible.


BaseCloud priority commented 8 months ago

Has this been added? Reported more than 6 months ago already.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.1
  • Device: Computer
  • Browser: Firefox
  • OS: Ubuntu
  • Provided sample code: Yes
  • Provided link: No