Topic: I need more infos with Sortable Event itemMove
Kaeswurm priority asked 4 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.)
Kamila Pieńkowska staff answered 4 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- 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