DataGrid with XML

0 views
Skip to first unread message

abhishekchess1

unread,
May 9, 2008, 5:42:45 AM5/9/08
to Chennai Flex User Group
hello all,
i'm using multi node XML like

<Root>
<data>
<cat>
<cat_id>0</cat_id>
<cat_name>sports</cat_name>
<topic>
<topic_id>0</topic_id>
<topic_name>Cricket</topic_name>
<discussion>
<discussion_id>0</discussion_id>
<description>good to earn money</
description>
</discussion>
</topic>
<topic>
<topic_id>1</topic_id>
<topic_name>Fottball</topic_name>
<discussion>
<discussion_id>1</discussion_id>
<description>good to earn money and pride</
description>
</discussion>
</topic>
</cat>
</data>
</Root>

could any one tell me how to show data of sub nodes in datagrid with
click event

abhishekchess1

unread,
May 12, 2008, 12:39:32 AM5/12/08
to Chennai Flex User Group
i want to show exactlly like tree structure in this case,
thanks

Rajan M

unread,
May 12, 2008, 12:59:39 AM5/12/08
to chennai-fle...@googlegroups.com
user flex 3.0's advanced datagrid.
--
Rajan M
Mobile:+91-9791138535

Prashant Koshta

unread,
May 12, 2008, 11:13:09 AM5/12/08
to chennai-fle...@googlegroups.com
By using the e4x. Load the xml and then pass the wanted node and value to the datagrid provider.
There is lot of sample example available into net.

Regards,
Prashant Koshta
--
Regards,
__________________________________
Prashant Koshta
Mobile No. : +91-9890269966
Reply all
Reply to author
Forward
0 new messages