This is pretty difficult right now. The
current DataGrid is very oriented towards the vertical. You’d probably
need to find a way to manipulate your data into maybe 2 objects with a property
per month to render things this way.
<data>
<tac>
<Apr_04>135</Apr_04>
<May_04>140</May_04>
</tac>
<bingos>
<Apr_04>80</Apr_04>
<May_04>98</May_04>
</bingos>
</data>
Matt
From: Chandransu
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 4:22
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
Horizontal Rendering
Hi,
How can this be achived in Flex?
My dataProvide XML:
<data>
<fperiod month="Apr 04">
<tac>135</tac>
<bingos>80</bingos>
</fperiod>
<fperiod month="May 04">
<tac>140</tac>
<bingos>98</bingos>
</fperiod>
</data>
Desired Output:
Fiscal
Period Apr
04 May 04
TAC
Cases
135 140
TAC
Bingo
80 98
If I use the Default DataGrid, the output will be:
Fiscal Period TAC Cases
TAC Bngo
Apr
04
135 80
May
04
140 98
Thanks,
-Chandransu
|