# Add variable row height mode to table UI element \(\#46190\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/05efa59fc667f439c072bbe331d533fe8f631a09)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 05efa59fc667f439c072bbe331d533fe8f631a09

Requested commit: 05efa59fc667f439c072bbe331d533fe8f631a09

Commit: 05efa59fc667f439c072bbe331d533fe8f631a09

Tree: 2caa96145b79d272b661cb66e0c4681bb48af25b

Author: Oleksandr Kholiavko

Committer: GitHub

## Message

```
Add variable row height mode to table UI element (#46190)

## Add variable row height mode to data table infrastructure

This PR introduces support for variable row heights in the data table
component, laying the groundwork for more flexible tabular data
rendering in Zed.

**Context:**  
This is the first in a series of infrastructure-focused PRs split out
from the [original CSV preview draft
PR](https://github.com/zed-industries/zed/pull/44344). The draft PR
remains open as a reference and will be incrementally decomposed into
smaller, reviewable pieces like this one.

**Details:**  
- Adds a variable row height mode to the data table, enabling future
features that require rows of differing heights (such as CSV preview
and, eventually, database table views).
- No user-facing changes; this is an internal refactor to support
upcoming functionality.

**Thanks:**  
Big thanks to @Anthony-Eid for pairing sessions and guidance on how to
best structure and land these changes incrementally.

---

Release Notes:

- N/A (internal infrastructure change, no user impact)
```

## Parents

- [0e1ed1832e18e7898082f5cba7c9d5ae6437f63b](https://git.cafe/gitcafe/zed/commit/0e1ed1832e18e7898082f5cba7c9d5ae6437f63b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/05efa59fc667f439c072bbe331d533fe8f631a09?format=markdown)
