List data is linear, Tree data is hierarchical. Therefore the data is incompatible by default. You can override the drag/drop behavior and make it work if you know how you want to map the data.
From: [email protected] [mailto:[email protected]] On Behalf Of Firdosh Tangri
Sent: Tuesday, September 19, 2006 3:45 PM
To: [email protected]
Subject: [flexcomponents] Dragand Drop Help
I took the example from the adobe website under the quickstarts example which basiclaly shows two List components with drag and drop support.
So I added a tree component
<mx:Tree id="myTree" width="50%" height="100%" labelField="@label"
showRoot="false" dataProvider="{treeData}" change="treeChanged(event)" dragEnabled="true" />
but for some reason it allows be to drag the node but I cannot drop it into the list, it keeps showing the red cross icon.
any ideas ??
cheers :)
firdosh
__._,_.___![]()
SPONSORED LINKS
Custom software development Database development software Embedded software development Offshore software development Software development
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- [flexcomponents] Dragand Drop Help Firdosh Tangri
- RE: [flexcomponents] Dragand Drop Help Alex Harui
- Re: [flexcomponents] Dragand Drop Help Firdosh Tangri
Reply via email to
Thanks Alex, I`ll give that a shot :)
On 9/19/06, Alex Harui <[EMAIL PROTECTED]> wrote:
