How can implement reordring in winforms datagridview by using the feature of drag and drop?
A:
for asp.net you can use a nice jQuery table drag-n-drop plugin. As DataGridView
is rendered as table. Download latest jquery file and include it in your page. Download drag and drop plugin file and include it after jquery file.
<asp:DataGridView id="myGrid" .....>
..............
</asp>
<script type="text/javascript">
$(document).ready(function(){
$("<%= myGrid.ClientID %>").tableDnD();
};
</script>
ps: plugin's home page contains fantastic examples
TheVillageIdiot
2009-09-15 05:38:11
Hello Dear not in asp.net i will do in windows application
Amit Dhall
2009-09-15 05:42:59
Please specify questions properly. I suspected this so I put "for asp.net.." in the beginning.
TheVillageIdiot
2009-09-15 05:54:52