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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -