vaadin / vaadin/framework

Grid visualization error with hidden header

Open
#10,505 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cannot reproduce Stale
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Vaadin Framework version: 8.2.0
The error occurs when a data provider is added to the grid after it are displayed in the application. The conditions must be the following:

  • Put visible header to false
  • Make a setExpandRatio to the columns and leave at least one without expanding it
  • No setting a data provider
  • After it is displayed on the web add the data provider

If you refresh de page, the error are resolve.

This is the example code to be examined. bug-grid.zip

Contributor guide

Open the contributing guide

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

Start with the attached bug-grid.zip example and reproduce the error using the listed Grid conditions: a hidden header, partial column expansion, and a data provider added after display. Done means adding the data provider no longer causes the grid visualization error and does not require a page refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.