Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to allow an end-user to move the rows in a grid up and down if the grid is bound to a DataTable

$
0
0

This example demonstrates how to swap two rows to move a specific row up or down

Question Comments

Added By: dsk96m at: 9/19/2013 9:07:54 AM    

This code is great, but does not work if you delete a row. If I have 6 items in the list and I delete item 2, this code doesnt work. How do we make it work in that case. Also, the ordering doesnt work, the numbers change to like 10.5, etc.

Added By: dsk96m at: 9/19/2013 9:09:05 AM    

Nevermind the second part of that. But how do we make this work so i can delete a row.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>