Views - How to display results in nested groups? I have a View listing out members of staff. Each staff member belongs to a department, or sub-department. I want to list out all staff members but group them under their (sub)-department in a nested manner. For example:

# School Board
John Doe

# Teaching Staff
Jane Doe

    ## Chemistry
    Eric Betzig

    ## Physics
    Shuji Nakamura
    Isamu Akasaki


I know you can use the Group by Fields option, as described in this answer, but it doesn't allow for nesting:

# School Board
John Doe

# Teaching Staff
Jane Doe

# Chemistry // Not nested
Eric Betzig

# Physics // Not nested
Shuji Nakamura
Isamu Akasaki
I think this is more a question of styling than views itself. You could assign a class to the row output (e.g. with a replacement pattern token or something) and then style the css to show the output "nested".