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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -