1

I have 2 advanceddatagrid with dataprovider based on an arraycollection of an instanciated actionscript class.

I want to copy and duplicate data from the datagrid1 to the datagrid2... For duplicate data it works fine, no problems .... but when I want to copy, in fact I want to clone the object from the grid1 to the grid2 ...

How can I do that ?

4

1 回答 1

0

您需要 dragMoveEnabled 属性。如果值为 false,则只能将项目复制到放置目标。对于副本,拖动启动器中的项目不受放置的影响。(参见http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_4.html

于 2012-11-16T22:31:05.300 回答