Hi All,
My Query here is that I have an XML which has following structure
<root>
<row>
<name>Kumar</name>
<class>MCA</class>
</row>
<row>
<name>Gaurav</name>
<class>MCA</class>
</row>
</root>
Here child elements of <row> are fixed i.e. <name> and <class>
Next time there can be an XML containg one more child node like <company>
And I want to create a dynamic datagrid which can read XML and create
columns on the basis of this.
If XML has two child nodes like <name> and <class> then Datagrid should have
two columns if XML has 3 childnodes like <name>,<class>,<Company> then
Datagrid should contain 3 column like name,class and company.
Can this be done...
I am not getting any approch but I am sure we will have to read the child
nodes and create a Datagrid in Action script.
If some one has done something like this please suggest me.
Thanks in advance guys..
Looking forward for your valuable responses.
Thanks,
Kumar