Sortable demo
The Dark Knight
ID | 9 |
---|---|
Title | The Dark Knight |
Director | Christopher Nolan |
Actors
Total 4 items.
ID | Order | Name |
---|---|---|
19 | 0 | Christian Bale |
22 | 1 | Michael Caine |
20 | 2 | Heath Ledger |
21 | 3 | Morgan Freeman |
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 'The Dark Knight' 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.