Flex DataGrid/List Drag and Drop - How to avoid copying -
i'm using drag , drop on datagrid reorder items. however, when user holds down ctrl can initiate drag copy operation. how can disable copying altogether? (not cancel drop, prevent ctrl + drag showing (+) icon)
this worked me (for spark list):
<s:list dragenabled="true" dropenabled="true" dragmoveenabled="true" dragenter="{event.ctrlkey = false}" dragover="{event.ctrlkey = false}"> ... </s:list>
Comments
Post a Comment