adobe / adobe/react-spectrum

Add `rowSpan` to table `Cell`s

Open
#9,112 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Provide a general summary of the feature here

https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/rowSpan

Similar to https://github.com/adobe/react-spectrum/issues/5862

### 🤔 Expected Behavior?

Being able to pass `rowSpan` to `Cell` in order to have the cell take up multiple rows

### 😯 Current Behavior

Not supported

### 💁 Possible Solution

_No response_

### 🔦 Context

We have a table design where the left hand column is shared for multiple rows. Since we use `Table` from `react-aria-components` we cannot implement it.

### 💻 Examples

W3Schools example shows it nicely I think

https://www.w3schools.com/html/html_table_colspan_rowspan.asp

Image

### 🧢 Your Company/Team

_No response_

### 🕷 Tracking Issue

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.