I'm interested in grouping fields in views, analogous to CCK Groups — I'm often using Views to create tables with multitudinous columns, and it would be helpful to have some sort of visual distinction between particular groups of columns.

I've mocked up a before-and-after example, attached. This mockup eliminates some redundant header text by consolidating it into (optional) secondary multicolumn headers, and draws thick lines through the table dividing the groups.

Would others find this feature useful? Is this something that could make it into the Views module, or should this be a separate module? Thoughts on how this should be implemented?

CommentFileSizeAuthor
views-fieldgroups.png44.7 KBsmokris

Comments

merlinofchaos’s picture

Issue tags: +views worthwhile features

It would be a cool feature, yes. I am not exactly sure how such a thing could be easily implemented, though. There'd need to be some way of applying groups to the columns and then getting the markup out there. It's not impossible, but could be a bit tough.

esmerel’s picture

Status: Active » Postponed

If someone wants to tackle this, great.

dawehner’s picture

is this related to #792044: Allow for field grouping?

I think at least the ui could be used.

voxpelli’s picture

Title: Views Table Fieldgroups » Allow for column grouping
Version: 6.x-2.x-dev » 6.x-3.x-dev
Category: feature » task
Status: Postponed » Active

This is an interesting idea - moving to an active task after chatting a bit with esmerel.

mustanggb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)