yishayw opened a new issue, #1210:
URL: https://github.com/apache/royale-asjs/issues/1210

   This example should be drag&droppable
   
   ```
   <?xml version="1.0"?>
   <!-- dragdrop\SimpleTreeSelf.mxml -->
   <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
        xmlns:s="library://ns.apache.org/royale/spark"
        xmlns:js="library://ns.apache.org/royale/basic"
        xmlns:mx="library://ns.apache.org/royale/mx">
        <fx:Script>
        <![CDATA[
                // Initialize the data provider for the Tree.
                private function initApp():void {
                        firstList.dataProvider = treeDP;
                }
        ]]>
        </fx:Script>
        <fx:Declarations>
                <fx:XML id="treeDP">
                        <node label="Mail">
                                <node label="Inbox"/>
                                <node label="Personal Folder">
                                        <node label="Demo"/>
                                        <node label="Personal"/>
                                        <node label="Saved Mail"/>
                                        <node label="bar"/>
                                </node>
                                <node label="Calendar"/>
                                <node label="Sent"/>
                                <node label="Trash"/>
                        </node>
                </fx:XML>
        </fx:Declarations>
        <mx:Tree id="firstList"
                showRoot="false"
                labelField="@label"
                dragEnabled="true"
                dropEnabled="true"
                allowMultipleSelection="true"
                creationComplete="initApp();"/>
   </mx:Application>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@royale.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to