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="[EMAIL PROTECTED]">
</mx:DataGrid>
Do you have any idea ? or there is an unique xml strucutre for datagri
d ??
thanks
--
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/
<*> 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/