I have constructed drag and drop lists that show data properly but…
I want to have a functionality that when I move one element from one of the groups, it will go to another group and so on. Also if I will not drop it anywhere it should come back to the main group where it was.
Conditions:
I have database of sports and people who practice them.
Main key is sport, parameter is a person who practices them - but the person has to be unique.
I have 2 groups where I do search for elements depending on a person, and those elements are displayed on drag and drop group elements.
I would like to know how:
- I can make the group move from one to another - also chaning things.
- How can I make the groups refresh the data (or maybe it will work once I solve nr 1 problem).
- Make it so if I don’t drop the element directly to another group it gets back there.
Group description:
Workflow that doesnt work: