Sortable demo
Titanic
ID | 7 |
---|---|
Title | Titanic |
Director | James Cameron |
Actors
Total 2 items.
ID | Order | Name |
---|---|---|
17 | 0 | Kate Winslet |
16 | 1 | Leonardo DiCaprio |
Many-to-many sortable
Each movie has several actors, and each actor can be in several movies. Here, the actors are sortable by dragging and dropping them. Only the actors in 'Titanic' are effected.
After sorting, the Order value will be updated. However, to see this, you have to refresh the page.
Note: You may get unpredictable results with this demo if someone else on the web is manipulating the data simultaneously.