Hello,
I'm having some really weird issues with populating an advanceddatagrid with
xmlList (quoteXMLList) data. Here is my situation. I've got an xmllist that,
when looking at one entry (xmlList[0]), has xml looking like this.
<response>
<cost>
<totalCost>20</totalCost>
</cost>
</response>
Now I'm trying to get totalCost as a datafield and for it to show up in a adg
column. So I tried something like this
<mx:AdvancedDataGrid editable="false" width="100%" height="100%"
variableRowHeight="true" id="quoteDataGrid" dataProvider="{this.quoteXMLList}">
<mx:columns>
<mx:AdvancedDataGridColumn
dataField="cost.totalCost" headerText="Total Cost" />
But nothing shows up. So, I changed my dataprovider to this.quoteXMLList.cost
and put dataField="totalCost" and it shows up fine. But I can't do that cause
I have more info I need to gather for other columns that is in different areas
of the xml in the current xmlList. So, can you not put e4x notation in
datafield, if not what do I do here? Thanks in advance.
Josh