Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm the maintainer of Views flipped table. I would like to be able to implement a behaviour along the lines of accordion, except using arbitrary table rows (individual fields) as the accordion header, with other rows hidden in the accordion. I would like to be able to do this with multiple groups of rows. I basically want something along the lines of http://jsfiddle.net/pVQQg/4/
Do you think there is a way to do this with views_accordion and views_flipped_table, or would it make more sense to code a separate extension of views_flipped_table from scratch?
Comments
Comment #1
naught101 CreditAttribution: naught101 commentedNote that this could also be useful for table columns in the normal views table view, if it worked horizontally.
Comment #1.0
naught101 CreditAttribution: naught101 commentedUpdated issue summary.
Comment #2
portulaca+1
It would be great to include a way to use any display inside the accordion content, not only tables.
I also often use tables in the accordion and do it by creating a table views, then overriding the template for that views display to include some accordion classes and including the js on relevant pages.
Comment #3
joseph.muennich CreditAttribution: joseph.muennich commentedHave you tried the Views Megarow module (https://www.drupal.org/project/views_megarow )? It has become a staple for my views display creation.