如何在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;更多推荐
发布评论