question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support multiple rows (grouped) for table heads?

See original GitHub issue

Hi,

I really want this:

image

<table>
  <thead>
    <tr>
      <th rowspan="2">---</th>
      <th colspan="3">AAA</th>
      <th colspan="2">BBB</th>
    </tr>
    <tr>
      <th>aa1</th>
      <th>aa2</th>
      <th>aa3</th>
      <th>bb1</th>
      <th>bb2</th>
    </tr>
  </thead>
</table>

https://jsfiddle.net/1o6zmp9v/1/

When there are a lot of columns it is useful to be able to group them somehow

I don’t believe this is currently possible?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
AllenFangcommented, Dec 15, 2016

@cheapsteak, that’s fine, but it really need some time, so don’t have much expectation 😭 But I’ll work hardly to make this project being well.

0reactions
cheapsteakcommented, Dec 27, 2016

Sweet, thanks! 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tables with Irregular Headers | Web Accessibility Initiative (WAI)
This page covers tables with header cells that span multiple columns and/or rows. Several elements and attributes can be used to define the...
Read more >
How to setup a table style with multiple header rows
To apply the header row formatting to multiple rows in the table: after the table style is applied, select the rows you want...
Read more >
How to group rows in Excel to collapse and expand them
To minimize or expand all the groups at a particular level, click the corresponding outline number at the top left corner of your...
Read more >
How can I construct a table header than spans multiple rows ...
One solution would be to use TD with special CSS rather than TH, but ideally I'd like to follow the traditional html table...
Read more >
[Table] Allow multiple header rows (Group) #17909 - GitHub
It would be great if you could add possibility to have multiple header rows I have searched the issues of this repository and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found