I have two content types assignments and projects
and i need a view like this

Assignmnt1 Assgnment2 Project1
student A B C
student2 A A C

Here the Column headers are not content titles,They are node reference fields.Can I have two fields as Column header,Then i think my problem will be solved.If you can guide me I will write the code for this.Now I am a bit confused.

Comments

ktrev’s picture

Issue summary: View changes
ktrev’s picture

Issue summary: View changes
mradcliffe’s picture

No, that wouldn't be supported out of the box.

I think you would need to make the column header refer to a common field, and then rewrite the value in an overridden template_preprocess_views_matrix that adjusts the $headers array with new values (same keys).

I have had done a similar type of table in custom code, which is very complex so I think that gradebook is a common problem.

You may try Views Flipped Table.