cancel
Showing results for 
Search instead for 
Did you mean: 

Scroll Container List Layout with draggable items

LHege.1
Associate III

Hi there,

I would like to implement a list with draggable elements to set a new order in the list. Is this possible with the standard list implementation or do I have to implement my own list logic?

Kind Regards

2 REPLIES 2
Romain DIELEMAN
ST Employee

Hi,

There are no widgets for this with draggable elements of a list, but it should be doable. Do you wish to have a scrollable list or just a few elements that you wish to rearrange ? The difficulty with a scrollable list will be how to differentiate the drag event of an element and the scroll of the list.

/Romain

LHege.1
Associate III

Hi Romain

The list does not have to be scrollable at the time the objects are rearranged. I have some ideas how to implement it but I wanted to check first if there is some kind of best practice to do the draggable element implementation. Should I work with the Draggable class and implement handleDragEvent?

Kind Regards