vaadin / vaadin/spreadsheet

Auto-fit cell height

Open
#652 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
50
Forks
53
Avg merge
1d 21h
Merged PRs (30d)
1

Description

Hi all!
I've tried to investigate a problem and realized that cell positions have an absolute value
If you try to make css style "height: fit-content", it applies only to current cell not row.
And in case of hiding headers you don't have rows in HTML code.
As a result, you have very limited formatting capabilities.
I calculate row height approximately on a server side, but it is very uncomfortable.
It is possible to do something with that case?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by reproducing the row-height behavior with wrapped cell content and hidden headers, then trace how cell positions and row heights are generated. Done should mean a clear, tested approach for automatically sizing rows to their cell contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, java
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.