Skip to content

[Feature request] Support for rowspan #3

@kuba-orlik

Description

@kuba-orlik

Given a table using rowspans like this:

<table-saw breakpoint="(max-width: 600px)">
  <table>
    <thead>
      <tr>
	<th>Type</th>
	<th>Name</th>
      </tr>
    </thead>
    <tbody>
      <tr>
	<td rowspan="2">Fruits</td>
	<td>apple</td>
      </tr>
      <tr>
	<td>banana</td>
      </tr>
      <tr>
	<td rowspan="2">Vegetables</td>
	<td>carrot</td>
      </tr>
      <tr>
	<td>onion</td>
      </tr>
    </tbody>
  </table>
</table-saw>

The mobile view is messing up the rows:

image

In this example each group would have two rows and the labels should match the values:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions