This is what I’ve done; it’s simple and it works…

<mx:Model id="eventListData" source="eventList.xml" />

<mx:ArrayCollection id="acEventList" source="{eventListData.events.event}" />

 

<mx:DataGridid=”dgEventList”  dataProvider="{acEventList}" >

<mx:columns>

<mx:DataGridColumn headerText="Header01" dataField="element01" width="120" />

<mx:DataGridColumn headerText="Header04" dataField="element02" width="50" />

<mx:DataGridColumn headerText="Header03" dataField="element03" width="50" />

</mx:columns>

</mx:DataGrid>

 

 

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba
Sent: Thursday, June 08, 2006 12:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] beta3 -- Binding XML data to List Controls -- data binding experts?

 

Hi all,

I have XML data that is being returned from a remoting service. I
would like to bind this data directly to various List-based controls
(As I understand it, List controls like Arrays/ArrayCollections).
What is the best way to massage the incoming XML data so that it can
be binded directly to List controls.

Any insight is greatly Appreciated.

Cheers,

Tim

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to