vaadin / vaadin/framework

TreeGrid should really have a scrollTo(T item) method

Open
#9,322 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

As was mentioned in the thread about Grid's needing this functionality, it would seem to extend to TreeGrids aswell. There are plenty of use cases around having the ability to scroll to an item programmatically (searching for an item in the tree, for example).

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 reading the TreeGrid API and the related thread about adding this functionality to Grid. Determine how a TreeGrid item can be located and brought into view programmatically, then verify that the proposed scrollTo(T item) behavior supports use cases such as searching for an item in the tree.

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.