Drag and Drop GridView rows using jQuery
All you need to do is to call the function, "tableDnD()" on the grid view and you are done. See below jQuery code.
$(document).ready(function() { $("#<%=gdRows.ClientID%>").tableDnD(); });
You can also add style to let user know that which rows is selected and dropped. As in below image, the 4th row is selected.
To do this, you need to assign a css class to "onDragClass" option of this plugin. See below jQuery code.
$(document).ready(function() { $("#<%=gdRows.ClientID%>").tableDnD({ onDragClass: "myDragClass" }); });
Hope you have find this useful!!!!!!
To find out all the available option with this plugin, read this article.
Feel free to contact me for any help related to jQuery, I will gladly help you.