ComboBox and arraycollection collection

Hi all
I am totally new with Flex and need your help.
I have an ArrayCollection stored getMD the field collection goes ColdFusion cfc
++++++++++++++++++++++++++++++
< cfproperty output = "false" >
< name cffunction = "getMD" access = "remote" returntype = out of the "query" = "false" >
< cfset var qread read = "" / >
< cfquery datasource = "lds_clin" name = "qread read" >
Select md_name from lds.mdmas
< / cfquery >
< cfreturn qread read / >
< / cffunction >
< / cfproperty >
+++++++++++++++++++++++++++++

What I am doing wrong that my combobox have a value of database? My mxml is similar to this:
++++++++++++
<? XML version = "1.0" encoding = "utf-8"? >
"" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" creationComplete = "initApp ()" >
< mx:Script >
<! [CDATA]
Import mx.rpc.events.ResultEvent;
Import mx.collections.ArrayCollection;
public function initApp (): void {}
ro.getMD (); }
private void handleMDResult(event:Object):void {}
myMD = event.result as ArrayCollection collection; }
[Bindable]
public var myMD:ArrayCollection;
[]] >
< / mx:Script >

< mx:RemoteObject id = "ro" destination = "ColdFusion" source = "apps.ria.DR.cfcs.GetData" > "
< name mx:method = "getMD" result = "handleMDResult (event)" / > "
< / mx:RemoteObject >

< mx:ComboBox id = "cboMD" dataProvider = "{myMD}" = XY "246" width = "231" = "10" > < / mx:ComboBox >
< / mx:Application >

Thank you!
Slava

This is a reason, you should always inspect your data in the result handler. It is not always clear exactly what your data looks like.
Tracy

Tags: Flex

Similar Questions

  • fill combobox via rpc and arraycollection collection

    Hello

    I have this XML coming via httpservice.

    < types >
    < type >
    < TypeId > 1 < / TypeId >
    < TypeUitspraak > Vonnis < / TypeUitspraak >
    < / type >
    < type >
    < > 2 TypeId < / TypeId >
    Arrest of < TypeUitspraak > < / TypeUitspraak >
    < / type >
    < / types >

    Here's (part of) the code

    Import mx.collections.ArrayCollection;
    Mx.rpc.events import. *;


    [Bindable]
    private var uitspraakTypes:ArrayCollection;

    private void typesHandler(event:ResultEvent):void {}
    uitspraakTypes = event.result.types.Type;
    }


    private function InitApp (): void
    {
    types. Send();
    }


    "" < mx:HTTPService id = 'types' url = ' http://www.emis.vito.be/SBO/haaltypes.asp ' result = "typesHandler (event)" / >

    < mx:ComboBox id = "typeUitspraak" dataProvider = "{uitspraakTypes}" > < / mx:ComboBox >


    in debugging mode in that I can see the arraycollection collection correctly filled
    I want to bind TypeUitspraak node of the xml to a combobox.
    I get [object Object] in my combobox.

    Please tell me what I'm missing here.

    Thank you

    Karel

    Hello
    You ares is simply not enough the only important thing

    ComboBox uses a property called labelfield to show your domain, you must pass a dataprovider and your arraycollection collection a labelfield, in your case TypeUitspraak of penny

  • Variable HTTService and ArrayCollection collection

    First of all - thanks for these turorials - great they´re.
    But as a beginner is easy to do something wrong.
    If I always appreciate the code source, so we can accelerate the learning one curve don't fight
    with small details like many empty spaces on etc...

    I ve done the exercise with HTTService again and again.
    I have debugging and all this, disable all firewall but still cant able to load the xml file into the DataGrid.
    Files and directories are accurate as in your tutorials.
    But only a blank page, I posted

    Here´s that the debbuger says:
    ".. Cannot convert mx.utils::ObjectProxy@29d1ee1 in mx.collections.ArrayCollection. »

    Probably what could be wrong?


    Here´s code:

    Hello highlander_1,

    I managed to get your example working with a few changes. I datatyped employeeData as XMLListCollection and adds the resultFormat property in the HTTPService e4X. The collection and E4X XMLList will allow you easily fill the dataGrid control. To see in the code below, I used

    Quote:

    The dataField property is the tag in the XML file. The headerText property is what is called the column. You can add several of them. In the example, I have edited for you, I see that three (firstname, lastname, email).

    You receive the data type ObjectProxy in castant don't not the ArrayCollection collection. For example:

    Quote:
    myDataStuff = event.result.employee as ArrayCollection collection;

    In this application, I copied your XML file in my project in a folder of data, here is the file of the application:

    Quote:

    http://www.Adobe.com/2006/mxml"layout ="absolute ".
    creationComplete = "init ()" > "


    Import mx.collections.ArrayCollection;
    Import mx.collections.XMLListCollection;
    Import mx.rpc.events.ResultEvent;

    [Bindable]
    private var employeeData:XMLListCollection = new XMLListCollection();

    private function init (): void
    {
    employeeService.send ();
    }

    private void resultHandler(event:ResultEvent):void
    {
    We're going to wrap the source with the XMLList.
    var employeeResultData:XMLList = new XMLList();
    employeeResultData = event.result.employee;
    employeeData.source = employeeResultData;
    }

    ]]>



    result = "resultHandler (Event)" resultFormat = "e4x" / > "



    dataProvider = "{employeeData}.
    Width = "480" >






    Hope this helps you,

    Ryan

  • Access table in the arraycollection collection and add the item at the end of the table

    for
    
    
    "login_user":"XXX"},i);
    
    //mess2=sess_MessArr[i2];
    //mess1=dispArray[i2].fwchat_message
    
    //searchArray(mess2);}
    
    
    
    
    
    (var i:int = 0; i< dispArray.length; ++i){
    
    dispArray[i]. 
    dispArray.addItemAt({
    


    I have this code to try to access the values in the table in the arraycollection collection, but that's not it actually creates a value at the end of the arraycollection collection. can someone tell me what im doing wrong I basically want retransmits the individual tables in the arraycollection collection and add Login_user

    So, I guess your ArrayCollection collection holds an array of objects, as follows:

    public var myAC:ArrayCollection = new ArrayCollection([{first:"bob",last:"smith"},{first:"jim",last:"jones"},{first:"mary",last:"allen"}]);
    

    And you try to add a new property of login_user to each of them, right?

    for each (var obj:Object in myAC) {
         obj.login_user = obj.first + "83";
    }
    

    Each person would be firstly, properties last and login_user.  In my example above, all the login_user would set their name + number 83, so adjust you accordingly for your application.

    It is the ease (for each rock for this situation).  However, if you want to paste the iterative approach, you have published, you can try this:

    for (var i:int = 0; i < myAC.length; i++) {
         myAC.getItemAt(i).login_user = myAC.getItemAt(i).first + "83";
    }
    

    I think that the for each syntax is clearer, but anyway works the way I think you want.

  • Display collection ArrayCollection in a list and the ArrayCollection with Drag and Drop collection reorgnize

    I have an ArrayCollection collection created like this

    qaAC = new ArrayCollection();

    for (var i: int = 0; i < 10; ++ i) {}
    var o: Object = {question: ' what is "+ i +"? ", answer:" it's "+ i"};
    qaAC.addItem (o);
    }

    The ArrayCollection collection is an array of object that has properties "question" and "answer to" custimized.

    I want to put 'issues' in the ArrayCollection collection in a list. 'qaAC.question' does not return an array of questions for me.

    I have to extract the ArrayCollection collection to form a new String table, and use the new array as the dataProvider of the list of questions.

    Is there a way better and clean?

    My goal is to use a list to reorgnize an ArrayCollection collection that contains complex objects (not simple string) with Drag & Drop. Is this possible?

    Any suggestions?

    I put two lists in my example to show how the ArrayCollection collection could be displayed in two different ways. You don't have to have two lists if you do not need them.

    When you change the order of the list made with drag and drop, you change the order of the collection ArrayCollection qaAC, so all the controls that display the qaAC will also be updated to reflect the new order. You can test this in the example I posted earlier. Change the order in the list of question and you will see the order change also in the list of responses. This is because they are both bound to the same collection of ArrayCollection. If you want to behave independently, you need two separate ArrayCollections.

    Chris

  • collection ArrayCollection collection arraycollection assigned values from the original setting?

    Hi... I am pretty stumped on this one. Here's the situation... on my main flex app I define an arraycollection collection:

    public var fiscalYrsArray:ArrayCollection;

    The collection is filled with the results of a query to a CFC

    protected function fiscalYrs_resultHandler(event:ResultEvent):void {}

    for (var x: int = 0; x < event.result.length; x ++) {}

    If (event.result [x]. DATA == passData.filterFiscalYrs) {}

    Event.Result [x]. Assigned = true;

    }

    }

    fiscalYrsArray = event.result as ArrayCollection collection;

    }

    I have a main application with drop-down menus window (I use a multi-case combobox). I use this window as a filter window, where users can choose what they want filtered.

    on this component, I use a temporary arraycollection collection (b/c I don't want to change the assignments of the arraycollection the temp collection is based off of) which will be a copy of the fiscalYrsArray of the parentApplication collection:

    " < = xmlns:fx s:TitleWindow ' http://ns.Adobe.com/MXML/2009 'close = "PopUpManager.removePopUp (this)'

    xmlns:s = "library://ns.adobe.com/flex/spark" title = "filter data" creationComplete = "initComp (); »

    xmlns:MX = "library://ns.adobe.com/flex/mx" width = "400" height = "300".

    xmlns:multiPickBox = "Components.multiPickBox. *" >

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    Import mx.collections.ArrayCollection;

    Import mx.controls.Alert;

    Import mx.managers.PopUpManager;

    private var tempfilterFiscalYrs:String

    [Bindable] private var fiscalYrDP:ArrayCollection = new ArrayCollection collection;

    private function initComp (): void {}

    fiscalYrDP = parentApplication.fiscalYrsArray;

    tempfilterFiscalYrs = parentApplication.passData.filterFiscalYrs;

    }

    protected function msc_addItemHandler(event:Event,filterVal:String,comboId:String):void

    {

    Alert.Show ("get here '");

    This [filterVal] = ";

    {for each (var point: Object in {this [comboId] .selectedItems)}

    This element of += [filterVal] ['DATA'] + ",";

    }

    filterChange = true;

    idText.text = str;

    }

    I am lie the collection arraycollection filterYrDP to a custom choice multi combobox:

    < multiPickBox:CheckCombo id = "fiscalYearF" width = "162" dataProvider = "{fiscalYrDP}".

    addItem = "msc_addItemHandler (event, 'tempfilterFiscalYrs', 'fiscalYearF')" "

    allIndex = '0' x = "77" y = "17" labelField = "DATA" / >

    However, I find that when an element is activated the assigned = true value is actually applied to the fiscalYrsArray of my parentApplication origin. I just want the assigned = true to apply to the fiscalYrDP collection arraycollection (one that is based on the fiscalYrsArray of parentApplication). How could it be written back and changing the properties of a fi main is just a temporary copy?

    By assigning the table using "=" you are just assigning the same table - in the same memory location.

    If you want to keep a separate table, you use the function ObjectUtil.copy

    import mx.utils.ObjectUtil;
    
    arrNewData  = new ArrayCollection();
    arrOldData  = ObjectUtil.copy(arrNewData) as ArrayCollection;
    
  • Add the object to the ArrayCollection collection

    Hi all

    I have an ArrayCollection collection which will be filled by a call remotely from java code.

    The Collection is no longer bound to a ComboBox that is shownup in the Panel.

    I tried to add an object to the collection of ArrayCollection iterated to 0th Index, whereas I could see this label of objects as the default label in the drop-down list box.

    But when the drop-down list box is displayed, the first element of the returned list of JavaCode is shown as the default label.

    See all present items in the drop-down list box, the label of objects which is added at Index 0 is seen, but when rendering this is not used as the default when appears on the display.

    < mx:ArrayCollection id = "departments" / >

    private void departmentResultHandler(event:ResultEvent):void
    {
    departments = event.result as ArrayCollection collection;
    Department: Department of var = new Department();
    department.departmentID = 0;
    department.departmentName = "Department";
    departments.addItemAt(department,0);
    }

    < mx:ComboBox id = "add_departmentID" dataProvider = "{services}" labelField = "departmentName" textAlign = "left" selectedIndex = "0" / >

    As I can't download images screeshot here, these are the URL that displays the images and gives a clear picture of what explains

    http://picasaweb.Google.com/narra.Madan/screenshots/photo#5118474206291402818

    http://picasaweb.Google.com/narra.Madan/screenshots/photo#5118474206291402834

    Please suggest where I have gone wrong

    Kind regards
    Madan

    The problem is the timing. When you assign the event.result to departments, the result is bound to the drop-down list, and the first item is selected by default. When new items are added to the drop-down list, flex does not change the selected item to the new item. Yes, it's just saying to your drop-down list box to select the element 0 and it will show Department.

    departments.addItemAt(department,0);
    add_departmentID.SelectedIndex = 0;

    You can also look at the use of the prompt property of the combo box. The prompt when comboBox.selectedIndex = - 1. Unless you need article of the Jet to be selectable, you can quickly define = 'Department' and then do:

    private void departmentResultHandler(event:ResultEvent):void
    {
    departments = event.result as ArrayCollection collection;
    add_departmentID.SelectedIndex = - 1;
    }

    Vygo

  • Type was not found or was not a compilation constant: ArrayCollection collection

    I've never seen this type of error before. I was running the asdoc tool when I arrived at the Office:

    package adventureGame.util
    {
         import mx.collections.ArrayCollection;
    
         public class ACConvertor
         {
              public function toAC(array:Array):ArrayCollection
              {
                   var arrayObject:Array = new Array();
                   var ac:ArrayCollection = new ArrayCollection();
                   
                   return ac = arrayObject as ArrayCollection;
              }
         }
    }
    

    Why I get:

    ACConvertor.as (31): col: 37 error: Type was not found or is not a constant of compilation: ArrayCollection collection.

    public void toAC(array:Array):ArrayCollection

    Collection ArrayCollection and any class that starts with mx... is that the Flex code. You work in an IDE Flex or Flash?

  • Cast of XML for the ArrayCollection collection where there is a single record

    I work with web services and in the result handler doing the following

    protected function WbSc_SSPr_PrinterListResult_resultHandler(event:ResultEvent):void
    {
    printerlistArrayCollection = event.result.Printer as ArrayCollection collection;
    PrinterCount = printerlistArrayCollection.length - 1;
    }

    If there is more than one value it works fine.

    If only one value is returned, then it shows as nothing.

    Huh?

    When I run it as a test, it returns a record

    <? XML version = "1.0" encoding = "UTF-8"? >
    < SOAP - ENV:Envelope
    " SOAP - ENV:encodingStyle = ' http://schemas.xmlsoap.org/SOAP/encoding/ "
    " xmlns:SOAP - ENC =" http://schemas.xmlsoap.org/SOAP/encoding/ "
    " xmlns:SOAP - ENV =" http://schemas.xmlsoap.org/SOAP/envelope/ "
    " container = ' http://www.w3.org/2001/XMLSchema "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance ">
    < SOAP - ENV:Body >
    " < = xmlns:ns1 ns1:WbSc_SSPr_PrinterListResponse ' http://www.4d.com/namespace/default ">
    < BidList xsi: type = "xsd: anyType" >
    < printer >
    Cognititve < do > < / make >
    ZB345 < template > < / template >
    < problem > This IS a TEST PROBLEM < / problem >
    < / printer >
    < / BidList >
    < / ns1:WbSc_SSPr_PrinterListResponse >
    < / SOAP - ENV:Body >
    < / SOAP - ENV:Envelope >

    Probably something like this will do:

    If (event.result.Printer is collection ArrayCollection) {}

    printerlistArrayCollection = event.result.Printer as ArrayCollection collection;

    } else {}

    printerlistArrayCollection = new ArrayCollection ([event.result.Printer]);

    }

  • How to check whether or not the arraycollection collection is initialized

    Hi all

    I am bit new to use the collection arraycollection in flex. I'm having this particular scenario, where I get Server data in a table. So I have to check if the arracollection I created is initialized or not. If it is not initialized I need to initialize it or other wise, just add collection from table to table. Here is the code snippet

    currentTrajectory = new collection ArrayCollection (event.result as Array);

    var _multiTrajectoryEvent:MultiTrajectoriesEvent;

    _multiTrajectoryEvent = new MultiTrajectoriesEvent (MultiTrajectoriesEvent.DRAW_AUTO_TRAJ);

    If (!) (_multiTrajectoryEvent.trajectories.source is nothing))

    {

    _multiTrajectoryEvent.trajectories.addItem (currentTrajectory);

    }

    else

    {

    _multiTrajectoryEvent.trajectories = new ArrayCollection ([currentTrajectory]);

    }

    But unfortunately the above code does not work for me, because the arraycollection collection is not initialized first, there is no way of checking me if it is initialized later or not as the compiler gives me the error checking to null...

    Can any Walter suggest how can I check if the table collection is initialized or not?

    I would appreciate any suggestions and thouhgts for the same

    Thank you

    Akshay

    Sorry to say, but it's not the right approach...

    I'm abt don't know what is exactly done so I'll give a generic example...

    I have an ArrayCollection collection...

    private var arrC:ArrayCollection;

    Maybe it's getting used internally in several places, so you be sure if she be initialized already or not. Then use a code something like that...

    If (arrC! = null & arrC.length > 0)

    {

    ...

    ...

    }

    If you are using

    If (arrC.Length > 0)

    {

    ...

    ...

    }

    and it is not initialised it will give exceptional at the time to compile...

    For a logic if(a && b) be true both a and b must be true, so if same first one (a) is false it will not evaluate the second logic (b).

    Thus, the previous logic works.

    concerning

    Nishant

  • How can I convert an arraycollection collection put an XmlList as a dataprovider for ADG

    I have an arraycollection collection that I get from the backend. I need to convert XMLList with knots, because I need to show data such as the branches of the ADG.

    now I use grouping but get a lot of sorting problems. So I want to convert XmlList to show the data as it is.

    is it possible to manage this problem?

    Example of sample can be enjoyed.

    Fasten your arraycollection collection and create your own xml file.

    var arr:ArrayCollection = your arraycollection;
    var xml:XML = ;
    
    for each( var i:Object in arr ){
         xml.appendChild(  {i.value}  );
    
    }
    
    var xmlCLT = new XMLListCollection( xml..node );
    

    Or you can put code in the itemrenderer to analyze the property data, so you can use your arraycollection collection directly.

  • Object to an ArrayCollection collection

    Hello

    I have an application that supports some info from database and he sinks into a datagrid, or a chart.

    I met this error to have one line and try to use it in a table so that I can use in my application.  Its come to my attention that it is a quite common problem that people face, but I don't seem to be able to get around any one test.

    My actionscript has a function that trots through ASP database and returns the data in the case - as below (obv I deleted stuff - load of calls are made to the mssqlQuery function - the only one I have trauma with is below)

    mssqlQuery ("SELECT (CASE SLARag, COUNT (SLARag) as Volume [CMI_ClientMI]. [Portal]. [BatchUpdate]","BusSegBuildSummary") ;}

    public static void mssqlQuery(sql:String,fid:String):void {}

    var http:HTTPService = new HTTPService;

    var parm:Object = new Object;

    parm.fas_sql = sql;

    parm.fas_db = mssql_db;

    http.url = mssql_url + "? irand =" + Math.random ();

    http.showBusyCursor = true;

    http.request = sql;

    http.addEventListener (ResultEvent.RESULT, mssqlResult);

    http.addEventListener (FaultEvent.FAULT, mssqlFault);

    http.method = "POST";

    sqlToken = http.send (parm);

    sqlToken.param = fid;

    }

    For BusSegBuildSummary collection arraycollection var

    [Bindable]

    public static var _BusSegBuildSummary:ArrayCollection = new ArrayCollection();


      

    Case statement to BusSegBuildSummary

    case 'BusSegBuildSummary':

      


    If (event.result.results.record is ObjectProxy) {}

    trace ("this is a Proxy object");


    }

    else {}

    trace ("it isn't Proxy object");

    _BusSegBuildSummary = event.result.results.record;

    }

    break;

    So - if the result has several records in it - so we are very well - it's the trace ("this is Proxy object"); bit which is annoying.

    I think I have to send the object as an arraycollection collection and I tried a number of different ways without success.

    Any ideas? I struggled for a while now and I am panicing!

    Hi Andrew

    No problem with the warranty so I wanted just report to disseminate good practices

    I do not understand what you write, but it is how I read it:

    When the user runs the function again, you get a more added slice, you can don't wan't, only you don't wan't the new?

    This is because you don't collection.addItem (item), so just add the to it to the collection.

    If you need to do:

    If (event.result.results.record is ObjectProxy)

    {

    collection.removeAll ();

    collection.addItem (event.result.results.record)

    }

    Best regards

    Martin

  • Labelling of records in an array or arrayCollection collection

    Many of the Tour de Flex examples use a table in a way that is not familiar to me. For example: var array: Array = [{Profit: 2000}, {Profit: 2400}];

    I want to put my data in the table as follows: var array1:Array = [2000,2400];

    but I still want to be able to access the property of 'Profit' when I use an ArrayCollection collection as in the example below.

    So, I have 2 questions:

    First of all, what is the name given to filling a table like: var array: Array = [{Profit: 2000}, {Profit: 2400}];

    and

    Second, how to tag my data with "Profit" when I add it to an array or ArrayCollection collection?

    Thanks for your time.

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "creationComplete ="init ()">
    < mx:Script >
    <! [CDATA]
    Import mx.collections.ArrayCollection;
    private function init (): void {}
    var array: Array = [{Profit: 2000}, {Profit: 2400}];
    var ac0:ArrayCollection = new ArrayCollection (array);
    areachart.dataProvider = ac0;
    //
    var array1:Array = [2000,2400];
    var ac1:ArrayCollection = new ArrayCollection (array1);
    areachart1. DataProvider = ac1;
    }
    []] >
    < / mx:Script >
    < mx:Panel >
    < mx:AreaChart id = "areachart" color = "0 x 323232" height = "100" >
    < mx:series >
    < mx:AreaSeries yField = "Profit" / >
    < / mx:series >
    < / mx:AreaChart >
    < / mx:Panel >
    < mx:Panel >
    < mx:AreaChart id = "areachart1" color = "0 x 323232" height = "100" >
    < mx:series >
    < mx:AreaSeries yField = "Profit" / >
    < / mx:series >
    < / mx:AreaChart >
    < / mx:Panel >
    < / mx:Application >

    Hi SiHoop,

    You need to defenitely label it when you're assiging the data for the table itself.

    var array: Array = [{Profit: 2000}, {Profit: 2400}];

    That the above is equivalent to creating an object and pushing data to a table.

    You can use the above statement as... goes

    var array: Array = new Array();

    var obj:Object = new Object();

    obj. Profit = 2000;

    Array.push (obj);

    obj:object = new Object();

    obj. Profit = 2400;

    Array.push (obj);

    In fact {Profit: 2000} represnts an object... including the benefit's label (property of the object) to the value.

    var array: Array = [{Profit: 2000}, {Profit: 2400}]; is the easiest way to initialize the array. You need to label it until then only you can access it with the label.

    Thank you

    Jean Claude

  • get the fields of the arraycollection collection?

    I want to loop through a collection of table and access all the items (columns)

    the arrayCollection collection looks so

    .columnOne [1]
    .columnTwo [1]
    .columnThree [1]
    .columnfour [1]

    [Bindable] public var dataSet:ArrayCollection = new ArrayCollection();

    protected function application1_creationCompleteHandler(event:FlexEvent):void

    {

    TODO self-generating method stub

    var d: Array = new Array()

    var int count = 5;

    var c:Number, r: Number;

    for (var i: int = 0; i<>

    {

    c = Math.Floor (Math.Random () * 10)

    r = Math.Floor (Math.Random () * 10)

    d.push ({cost: i + 1})

    Recipes: 2 * i + 1

    });

    }

    dataSet.source = d;

    Call();

    }

    function call (): void

    {

    for each (var point: Object in dataSet)

    {

    (var key: string in point)

    {

    trace (Key)

    trace ([Key] Item)

    }

    }

    }

  • Export the ArrayCollection collection in XML file

    Hi all

    Is it possible to export a Flex ArrayCollection collection to an XML file.

    My collection of table is displayed in a datagrid as follows

    < mx:DataGrid = "360" x y = "120" width = "448" height = "200" dataProvider = "{questionsArr}" >
    < mx:columns >
    < mx:DataGridColumn headerText = "Issue" dataField = "issue" / >
    < mx:DataGridColumn headerText = dataField "Start" = "start" width = "40" textAlign = "center" / >
    < mx:DataGridColumn headerText = "Stop" dataField = "stop" width = "40" textAlign = "center" / >
    < / mx:columns >
    < / mx:DataGrid >

    And I want to output the XML to look like this

    < cue >
    "< question section =" "start =" "stop =" "/ >
    "< question section =" "start =" "stop =" "/ >
    "< question section =" "start =" "stop =" "/ >
    < / cue >

    Is this possible?  I mean all the data is ready, he just needs to be saved. .

    Hi djh88ukwb,

    Try something as shown below in the link by performing a loop through the arraycollection collection and forming the knots... the way you need...

    http://nsdevaraj.WordPress.com/2008/08/20/ArrayCollection-XML/

    Thank you

    Jean Claude Chari

Maybe you are looking for

  • I need drive recovery on Satellite L30

    I bought a series of Satellite L, L10-333 a few years ago.Since then, it has started to become slow and not work as well, so I restarted the hard drive using the reboot disk that comes with my laptop.After that, it was fine and worked perfectly. Sinc

  • Downgrade to Windows 7

    Hi, I'm James.  I want to downgrade to Windows 7.  I have Windows 8.1 and I hate it.  I have a HP Pavilion 2297nr g7.  I bought refurbished on Ebay and it came to me with Windows 7.  I upgraded to Windows 8 and was sorry I did.  I would like to know

  • Memory management problem

    I have a VI that usually runs for hours, accumulated test data that is displayed in an indicator of the chain. Measure the hours elapse memory consumption ramp VI until finally, due to the slow performance, LabVIEW must be quit and restarted. I think

  • recently some gif files are not open. Get all the white screen (white)

    Experience the problem on a few sites. problem started about 1 week ago. newly installed Firfox 4 and conducted an analysis of the registry using the may/may not be a problem.  RegCure due to the performance of slow computers. Had done this earlier a

  • U2715H, MacBook Pro 2009 connection problem,

    Hello You just bought a U2715H, which is beautiful when you work with my MacBook Pro 2009. When I first set up, using the mini-DV to DV cable the minitor showed no link. Once again the connection several times the monitor came to life and everything