I want to have a table like below, so that the secondary row spans both columns.

/==============|============\
| Name         | City       |
|---------------------------|
| My personal message, yay! |
\==============|============/

But instead it show me this. The HTML isn't even correct because it's missing the last TD.

/================|=============\
| Name           | City        |
|----------------|-------------|
| My personal    |             |
| message, yay ! |             |
\================|=============/

In this example I'm using two fields for the first row and one field for the second row. I'd like to be able to use three or four fields for the first row.

Does anyone have a idea how to fix this? I think it's just a matter of adding a option to select the number of cols you want the secondary field to span.

CommentFileSizeAuthor
#1 views_secondary_row_colspan.patch2.54 KBchertzog

Comments

chertzog’s picture

Status: Active » Needs review
StatusFileSize
new2.54 KB

I had the same issue. Here is a patch is works for me.

rolando.alevelbeyond’s picture

works perfect for me.. should definitely be committed as this will be more than handy to lots of people..

bojanz’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.