I need more infos with Sortable Event itemMove


Topic: I need more infos with Sortable Event itemMove

Kaeswurm pro premium priority asked 3 months ago

Expected behavior

After an itemMove, I have to report the change of location(s) to a database. Therefore, I need the information e.g. Item (ID or Index) from A to B or Item A swapped with B or Item A before B or Item A after B

Actual behavior

Currently I only get the source item and the target item. But not whether it was pushed before or after or swapped.

Resources (screenshots, code snippets etc.) enter image description here


Kamila Pieńkowska staff answered 3 months ago

You can access information about sortable instance after itemMove event to get current order of element.

https://mdbootstrap.com/snippets/standard/kpienkowska/6181138


Kaeswurm pro premium priority answered 3 months ago

Ah, Thank you. It works.


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: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.3.2
  • Device: Desktop
  • Browser: Edge
  • OS: Win10
  • Provided sample code: No
  • Provided link: No
Tags