I would like to display records in my detail section vertically and would like to display my columns horizontal. Any pointers as to achieve this?

I would like to display it something like this

Name: John Andy William

Age : 35 28 23

Gender: Male Male Male


Thanks