Drag and Drop: Change position of elements in list

I have a list of tasks. I would like to change the position of the tasks using drag and drop. For example grabbing the bottom task and dropping it in the middle of the list, should result in the task displayed in the middle.

I’ve tried using “iterator count” and “Index in datasource” to set the position on drop. The problem is getting the index of the objects in the position where the task is dropped. The task that is dropped is in always in context.

I also need a way to update the “position” of all the other ojects on drop as well, preferably withouth using a for-loop.

Anyone have an idea of how to accomplish this?

Hi Ole, and thanks for reaching out. I understand your need for this functionality, and this is still an open challenge for our platform team to solve. You can find a possible workaround published in the community here.