Noob question - read from csv into nested list (I think)

Noob question - read from csv into nested list (I think)

Hi all

I am trying to build a simple app to load csv data from my server into what I think is called a nested list.  

I initially want to display data from only one field, which will slide across into the full record when selected.

I can read the csv with some php and ajax to output a table:   http://www.glengilchrist.co.uk/csv/table.html  

What I am looking to do is to convert this into something That looks:

Screen 1
Staphylococcus aureus (MSSA)
Staphylococcus aureus (MRSA)
Streptoccous pneuoniaeA

When the names are selected, detail is displayed on a "new view"

Staphylococcus aureus (MSSA) (as the title)

Penicillin           5
Ampicillin 
Methicillin       100
Norfloacin         79
Fusidic Acid      99

With the relevant back slider.


I just can not for the life of me work out out to:

A) Get my data from the  dataFields[0] dataFields[1] etc into a list
B)Make what I think is called a nested list, so that when selected the detail is shown.


Am I making a real hash of this, as I suspect I am -- it seemed like such an easy ask, as the php / html route was quite simple.

Help ;-)
Cheers
Glen