Pakistan is contributing at its best in the field of latest technologies, platforms and approaches. Here,Flex developers share their experience, knowledge and ideas to assure their best talent in the world.

Latest topics
» Advice sought on recruiting a Senior Flex developer in Lahore
Tue May 11, 2010 2:41 pm by anjum

» steam boiler efficency calculator
Wed Dec 23, 2009 4:55 am by imranmalik

» URLLoader and URLRequest application
Tue Dec 15, 2009 6:01 pm by imranmalik

» Time display by ILOG ELIXIER PACKAGE
Thu Dec 10, 2009 9:28 am by imranmalik

» how Filter XML data by Flash Builder
Sat Dec 05, 2009 6:33 pm by imranmalik

» drag and drop (Advance Data Grid to List Box)
Thu Nov 19, 2009 7:12 pm by imranmalik

» access the xml file through HTTPService request
Sun Nov 15, 2009 11:46 am by imranmalik

Tue Nov 03, 2009 2:06 pm by imranmalik

» Synchronous Behavior
Sun Nov 01, 2009 8:04 pm by imranmalik

Social bookmarking
Social bookmarking digg  Social bookmarking delicious  Social bookmarking reddit  Social bookmarking stumbleupon  Social bookmarking slashdot  Social bookmarking yahoo  Social bookmarking google  Social bookmarking blogmarks  Social bookmarking live      

Bookmark and share the address of on your social bookmarking website

You are not connected. Please login or register

drag and drop (Advance Data Grid to List Box)

Go down  Message [Page 1 of 1]

1 drag and drop (Advance Data Grid to List Box) on Thu Nov 19, 2009 7:12 pm

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx=""
xmlns:mx="library://" minWidth="1024" minHeight="768"
import mx.collections.ArrayCollection;
import mx.controls.Alert;
public var employeeData:ArrayCollection=new ArrayCollection();
public function init1():void
public function resultHandler(event:ResultEvent):void
public function faultHandler(event:FaultEvent):void
{"not found");
<!-- Place non-visual elements (e.g., services, value objects) here -->
<s:HTTPService id="room1" result="resultHandler(event)" fault="faultHandler(event)"
<mx:AdvancedDataGrid x="73" y="84" id="adg1" designViewDataType="flat"
dataProvider="{employeeData}" dragEnabled="true"
<mx:AdvancedDataGridColumn headerText="Room Name" dataField="name"/>
<mx:AdvancedDataGridColumn headerText="Room Size" dataField="roomsize"/>
<mx:List x="332" y="84" width="171" height="177" dropEnabled="true"
labelField="name" dragEnabled="true" dragMoveEnabled="true"></mx:List>
////////////////XML FILE////////////////
<name>Colorado Room</name>
<name>Mile High Room</name>
<name>Bronco Room</name>
<name>Greeley Room</name>
<name>Boulder Room</name>
<name>Denver Room</name>

View user profile

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum