How would find (and store) the new indexes for every item within a radgrid after multiple rows have been dragged and dropped?
This demo does it wrong btw, does not properly re-order rows within one grid in scenarios where you drag multiple rows from different positions:
Attached files illustrate non working demo re-order: draggedrows.PNG shows 2 rows selected, dropped them between "HANAR" and "CHOPS"; draggedrowsdroppedbetweenhanarandchops.PNG shows result of operation, not expected result. Demo only checks for first dragged item...
- How to write out the new indexes client side onrowdropped in a hidden column, so I can get these values on the server side rowdrop event?
- Or How to get new indexes server side after rows are dropped directly?