I believe, it can be done using Custom CellRenderer and Custom
HeaderRenderer. Please look at Flex docs for more help on Cell Renderer.

Also search archives, it might have been discussed...



-abdul

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ssudha2
Sent: Wednesday, June 08, 2005 9:28 PM
To: [email protected]
Subject: [flexcoders] Feasibility using datagrid

I have an XML file with the following contents:-

<?xml version="1.0" encoding="iso-8859-1"?>

<Data>

<Category>

<Month value="May-05">

<Subcategory name="Subcat1">

<Target>100</Target>

<Allocation>125</Allocation>

</Subcategory >


<Subcategory name="Subcat2">

<Target>150</Target>

<Allocation>175</Allocation>

</Subcategory >

</Month>

<Month value="Jun-05">

<Subcategory name="Subcat1">

<Target>200</Target>

<Allocation>225</Allocation>

</Subcategory >


<Subcategory name="Subcat2">

<Target>250</Target>

<Allocation>275</Allocation>

</Subcategory >

</Month>

</Category>

</Data>



And I want the following table as output:-

                May-05              Jun-05
           Target Allocation    Target Allocation 
Cat1         
Subcat1       100        125       150        175 
Subcat2       200        225       250        275 


With the above given XML input, is this grid achievable using 
datagrid in flex?  how?

Thanks
Sudha




 
Yahoo! Groups Links



 




 
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/
 


Reply via email to