Hi,
I would like to know what's the best xml structure to use datagrid.
Indeed, my xml data source (legacy system) is like :
<xchart>
<xset name="x1">
<xrecord>
<p1>zzzz</p1>
<p2>zzzz</p2>
<p3>zzzz</p3>
</xrecord>
<xrecord>
<p1>zzzz</p1>
<p2>zzzz</p2>
<p3>zzzz</p3>
</xrecord>
</xset>
<xset name="x2">
<xrecord>
<p1>zzzz</p1>
<p2>zzzz</p2>
<p3>zzzz</p3>
</xrecord>
<xrecord>
<p1>zzzz</p1>
<p2>zzzz</p2>
<p3>zzzz</p3>
</xrecord>
</xset>
</xchart>
I can use the charting components with this xml (using []) but I
encountered some troubles with datagrid
my data source is composed in 4 xset. Each of these xset is composed
by one or more xrecord.
But one xset is corresponding to one column
As we can set the dataprovider only in the datagrid tag, I can't
realize it.
my whish (obviously doesn' t work):
<mx:DataGrid dataProdiver="{feed.lastResult.xchart}"
<mx:DataGridColumn datafield="xset[0].record@p1">
</mx:DataGrid>
Do you have any idea ? or there is an unique xml strucutre for datagri
d ??
thanks