I would like to build a table with Views like this:

          | Header A| Header B | Header C

Header 1 | Value A1 | Value B1 | Value C1

Header 2 | Value A2 | Value B2 | Value C2

Header A, B, & C comes from 1st content type and number of columns is variable.

Header 1, 2 comes from 2nd content type and number of rows is variable.

Value A1, B1, C1, A2, B2, C2 comes from 3rd content type and content types are linked to each other with Node Reference fields.

How can I make this table with Views?


  • This link may helps you drupal.stackexchange.com/questions/26898/…
    Feb 2 '15 at 14:06
  • Thank you for reply. But unfortunately it does not help. My view is much more complex. My both row and column Header cell's are variable.
    – coolman
    Feb 2 '15 at 14:14
  • I would like to make a table like in this wikipedia page: en.wikipedia.org/wiki/…
    – coolman
    Feb 2 '15 at 14:16
  • You can do this with the Views Matrix module: drupal.org/project/views_matrix . If this doesn't fit your needs, you will need to code. A very good answer can be found here: drupal.stackexchange.com/a/94275/4387 Feb 2 '15 at 15:39
  • I'm trying views matrix module. As far as I understand, this module is not very much configurable. For example I can only sort by name. I wish be able to sort with any other field. Anyway, if I create custom content type and fill information specially for this module, it will do what I need. Thanks
    – coolman
    Feb 2 '15 at 17:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.