vaadin / vaadin/framework

Function that returns the first visible row (or all visible rows) of a Grid

Open
#9,708 7 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

With the table we were able to get the first line that is currently visible on the client's UI. Grid does not have this important functionality.
There should be a way to get this information (or alternatively all visible rows) as it can be useful in any number of situations.

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 by locating the Grid API and the existing Table functionality that exposes the first currently visible row. Compare how visible rows are determined in each component, then define the API and behavior for returning the first visible row or all visible rows; the issue provides no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.