Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive table should support multi-rowed headings #38

Open
meeprophone opened this issue Aug 2, 2013 · 0 comments
Open

Responsive table should support multi-rowed headings #38

meeprophone opened this issue Aug 2, 2013 · 0 comments

Comments

@meeprophone
Copy link

It's common on our pages to have two rows within the thead, where the top row comprises grouping columns with a colspan. For example:

+-------------------+-------------------+     }
|        2013       |        2014       |     }      thead
+------+------------+------+------------+     }
| Lent | Michaelmas | Lent | Michaelmas |     }
+------+------------+------+------------+
| Blah | Blather    | blah | Blather    |     }    tbody
+------+------------+------+------------+     }

This breaks in the mobile layout, but in principle it's possible to discover all the relevant headings and list them as field headings. (This should work also for the rare, but not unknown, 3-level theads)

2013: Lent
Blah

2013: Michaelmas
Blather

2014:, Lent
blah

2014: Michaelmas
Blather

This enhancement would make the responsive tables more useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant