Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-08-2010, 03:14 PM   #1
phil25840
Registered User
 
Join Date: Nov 2010
Posts: 1
Question Drag/Drop datagrid question

I have two objects, one datagrid and one list. I have a simple value object that contains some data and an icon. I have implemented drag and drop of these value objects between the list and the datagrid. Everything works as it should, but I can't seem to figure out how to determine any info about the item that was dragged. Can anybody assist with this?
Thanks!
phil25840 is offline   Reply With Quote
Old 11-09-2010, 05:07 PM   #2
davidsm1979
Registered User
 
Join Date: Aug 2010
Posts: 15
Default

In the dragDrop event of the target object look at

event.dragSource.dataForFormat("items") as Array;
davidsm1979 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:44 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.