You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2022/09/21 06:55:28 UTC

[GitHub] [royale-asjs] yishayw opened a new issue, #1210: Make mx:Tree drag&droppable

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-unsubscribe@royale.apache.org.apache.org

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


[GitHub] [royale-asjs] yishayw closed issue #1210: Make mx:Tree drag&droppable

Posted by GitBox <gi...@apache.org>.
yishayw closed issue #1210: Make mx:Tree drag&droppable
URL: https://github.com/apache/royale-asjs/issues/1210


-- 
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-unsubscribe@royale.apache.org

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


[GitHub] [royale-asjs] yishayw commented on issue #1210: Make mx:Tree drag&droppable

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #1210:
URL: https://github.com/apache/royale-asjs/issues/1210#issuecomment-1276318812

   56fecab4634dade30e29959966947f7f9f38d982 fixes this particular example.


-- 
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-unsubscribe@royale.apache.org

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