Sortable demo
Directors
Total 13 items.
| ID | Order | Name |
|---|---|---|
| 10 | 0 | David Cronenberg |
| 1 | 1 | Steven Spielberg |
| 3 | 2 | James Cameron |
| 12 | 3 | Ridley Scott |
| 7 | 4 | Tony Scott |
| 8 | 5 | David Fincher |
| 2 | 6 | Tim Burton |
| 9 | 7 | Paul Verhoeven |
| 4 | 8 | Christopher Nolan |
| 5 | 9 | John Woo |
| 11 | 10 | Francis Ford Coppola |
| 13 | 11 | Martin Scorsese |
| 6 | 12 | Quentin Tarantino |
Simple sorting
The directors are sortable by dragging and dropping them.
After sorting, the Order value will be updated. However, to see this, you have to refresh the page.
The table is implemented with a SortableGridView. Click here to see a SortableListView in action.
This may not work in mobile browsers. Therefore, there is also a SortableGridViewJquery, which depends on jQuery. It is demonstrated here.
Click on a director to see One-to-many sorting.
Note: You may get unpredictable results with this demo if someone else on the web is manipulating the data simultaneously.