Topic: Plugin: drag-and-drop Plugin

jcarvalho priority asked 14 hours ago


Looking at the grid example: https://mdbootstrap.com/docs/standard/plugins/drag-and-drop/#section-sortable-grid-example

Is there a way to remember the User sorted pattern for the Items? That way, when the user comes back to the same page in the application, the pattern is the same as sorted earlier.


Bartosz Cylwik staff answered 3 hours ago


Hi! Unfortunately available events do not fire with the order change. I think you would have to add some kind of event (mouse down) or observers to save the order of items after change and then render those elements in that order when coming back to the page.

Best Regards!



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.1.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes