did u found the solution? i am running on the same problem here.
LuÃs Eduardo.
--- In [email protected], "greenfishinwater"
<[EMAIL PROTECTED]> wrote:
>
> I have a Rails App that produces XML data in the structure:
>
> <price_sets>
> <price_set>
> <id>56</id>
> <start_date>2006-11-25</start_date>
> <status>O</status>
> <store_set>
> <id>528</id>
> <name>Small size Stores</name>
> </store_set>
> </price_set>
> ..
> </price_sets>
>
> The data is returned via a HTTPService:
>
> <mx:HTTPService id="priceSetSummary" useProxy="false" method="GET"
> url="http://localhost:3000/price_set/list">
> <mx:request xmlns="">
> <vendor_id>{vendorIdToUse}</vendor_id>
> </mx:request>
> </mx:HTTPService>
>
> I populate a DataGrid with this data:
> dataProvider="{priceSetSummary.lastResult.price_sets.price_set}"
>
> I have 2 columns in the grid:
> <mx:DataGridColumn headerText="Start Date" dataField="start_date"/>
> <mx:DataGridColumn headerText="Status" dataField="status"/>
>
> But the problem is when I want to add a column for the store set name
> <mx:DataGridColumn headerText="Stores" dataField="store_set.name"/>
>
> No values are displayed in this column.
>
> Using the FlexBuilder debugger, I can see that there is a value
> for the store set name.
>
> I noticed that the dataProvider for the grid is an array collection,
> could this be the problem. Do I need to have the data in Flex as an
> XMLList or XMLListCollection. How do you get the HTTPService result
> into XML for the grid.
>
> I admit I have tried different ways with XMLList etc, but do not get
> any data in the grid.
>
> Thanks
>
> Andrew
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/