Flex拖放
发布时间:2020-12-15 04:15:57 所属栏目:百科 来源:网络整理
导读:?xml version="1.0" encoding="utf-8"?s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"s:layouts:HorizontalLayout paddi
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"> <s:layout> <s:HorizontalLayout paddingLeft="20" paddingTop="20"/> </s:layout> <fx:Declarations> <s:ArrayCollection id="authors"> <fx:Object label="A" telephone="1"/> <fx:Object label="B" telephone="2"/> <fx:Object label="C" telephone="3"/> <fx:Object label="D" telephone="4"/> <fx:Object label="E" telephone="5"/> </s:ArrayCollection> </fx:Declarations> <mx:DataGrid dataProvider="{authors}" dragEnabled="true" dropEnabled="true" dragMoveEnabled="true" allowMultipleSelection="true"> <mx:columns> <mx:DataGridColumn headerText="Label" dataField="label"/> <mx:DataGridColumn headerText="Telephone" dataField="telephone"/> </mx:columns> </mx:DataGrid> <s:VGroup> <s:Label fontWeight="bold" text="source"/> <s:List dragEnabled="true" dropEnabled="true" dragMoveEnabled="true" allowMultipleSelection="true" dataProvider="{authors}"/> </s:VGroup> <s:VGroup> <s:Label fontWeight="bold" text="Target"/> <s:List dragEnabled="true" dropEnabled="true" dragMoveEnabled="true" allowMultipleSelection="true" dataProvider="{new ArrayCollection()}"/> </s:VGroup> </s:Application> dragEnabled="true"? dropEnabled="true"? dragMoveEnabled="true"? allowMultipleSelection="true" (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Ajax同步的调用场景——使用同步Ajax在 onunload 事件时通知
- 【cocos2d-x】如何使用CocoStudio场景编辑器制作魔卡幻想
- NorFlash和NandFlash区别
- cocos2d-js 在webstrom和Chrome的JB插件情况下的反缓存js
- Cocos2d-x 3.2 大富翁游戏项目开发-第二十一部分 捡到积分卡
- TP-LINK WR720N升级8M Flash 64M Ram,加USB-TTL,烧openwr
- c – OpenCV如何旋转cv :: RotatedRect?
- Xcode 6.3显示随机文件,而不是助理编辑器中的对应文件
- JSONObject与JSONArray的使用
- react页面中引用本地图片的方法