通过拖放合并gridview行 [英] Merge gridview rows with drag and drop

查看:103
本文介绍了通过拖放合并gridview行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个gridview,列出了具有余额到期金额的行。一些行具有负余额到期金额,这表示信用。我希望能够拖动信用。在具有余额到期的行上行并合并行(将余额应用到余额到期的行并消除贷记行)。我可以使用JQuery的tableDnD来拖放行,但是我需要协助如何将一行放到另一行,然后捕获事件。



我''使用asp.NET 4.0和C#以及数据绑定gridview。

I have a gridview that lists rows with balance due amounts. Some of the rows have negative balance due amounts, which indicate credits. I want to be able to drag a "credit" row onto a row with a balance due and merge the rows (applying the credit to the row with the balance due and eliminating the credit row). I can drag and drop rows with JQuery''s tableDnD, but I need assistance for how to drop one row onto another, then capture the event.

I''m using asp.NET 4.0 and C# with a databound gridview.

推荐答案

请查看文章拖放GridView项目以便在ASP.NET 2.0中进行排序 [ ^ ] 。这可能对你有帮助。
Please go through the article Drag and drop GridView items for ordering, in ASP.NET 2.0[^]. This might help you.


这篇关于通过拖放合并gridview行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆