在网格中拖放功能,.net(Drag Drop functionality in grid, .net)

编程入门 行业动态 更新时间:2024-10-26 21:28:57
网格中拖放功能,.net(Drag Drop functionality in grid, .net)

如何在Component 1 Flex网格中实现拖放功能。 此外,网格应允许一些与拖动数据相关的功能

允许删除网格单元格中的拖动数据。 拖动的项目仍保留在原始单元格中以及它拖动到的单元格中。 如果原始项目被删除,被拖动的项目也会被删除。 网格不应该允许数据在同一列中复制。

请任何人都可以帮助我或建议我,如何在Flex网格中可能。 这是一个基于Windows的应用程序。 因此,如果使用Windows应用程序的基本功能做同样的事情的可能性,请让我知道。

How can i implement drag drop functionality in Component 1 Flex grid. Also the grid should allow some functionalities related to dragged data like

Allow deletion of dragged data in cells of Grid. Dragged item remains in original cell as well and in the cell where it is dragged to. If the original item is deleted, the dragged item also gets deleted. Grid should not allow data to be duplicated in same column.

Please can anyone help me or suggest me that how is it possible in flex grid. It is a windows based application. So if any possibility of doing the same using windows application basic functionality as well then please let me know.

最满意答案

你可以简单地使用它

所有拖放设置都包含在Grid.DragAndDrop属性中。 以下属性应设置为true以使用拖放功能:

Grid.AllowDrop = true; Grid.DragAndDrop.Enabled = true;

you can simply use this

All drag & drop settings are contained in Grid.DragAndDrop property. The following properties should be set to true to use drag & drop feature:

Grid.AllowDrop = true; Grid.DragAndDrop.Enabled = true;

更多推荐

本文发布于:2023-07-08 00:59:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1070189.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网格   拖放   功能   net   grid

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!