I am new to flex. I have to display some data in a hierarchy using a
combination of actionscript and flex. I would really appreciate if
some one can show me the code for it.
I have a csv file with the temperature data for some regions. First
row is the header row. The data in the csv file changes every day.
Csv Data
Continent,Country,State,Temperature
Asia,,,40
Asia,India,,45
Asia,India,Delhi,22
Asia,India,Mumbai,34
Asia,India,Madras,40
Europe,England,,20
Europe,,,30
Europe,England,,22
Europe,England,London,24
Europe,England,Bath,21
I want to see the data in the following format
Asia -- 40
Europe -- 30
When I click on Asia, it will expand as and show
Asia -- 40
India -- 45
Europe -- 30
When I click on India after that it will expand as
Asia -- 40
India - 45
Delhi - 22
Mumbai - 34
Madras - 40
Europe - 30
Similarly when I expand Europe, I should be able to see the regions
temperature data. The reason I am having a bit problem coding is
because each element has it's own temperature data .
I would really appreciate if someone can post the code here. I want to
load this imformation from csv in the datagrid using actionscript and
then use flex just to display the data.
Thanks
-Rohit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---