Enhancement - Tree / TreeGrid Parent indeterminate mode when child selected
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
When a child item in a Tree / Grid is selected and there parent is not, there is no visual cue on the parent note to denote that a child is selected. This is important in the case that the parent node is collapsed.
The Parent node checkbox should support an intermediate mode, such as a "dash" selection. This mode is currently supported in TreeGrid Elements (or at least i thought I came across it), but not in Vaadin Framework (Java).

In addition to the checkbox change, the Parent node should also denote the child selection state in the CSS, such as, "child-selected" so that it can be themed, as there is no current way to manually change the css of a parent item from a child event.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Tree and TreeGrid selection handling in the Vaadin Framework code and compare it with the existing TreeGrid Elements indeterminate behavior mentioned in the issue. Done means a selected child gives its collapsed parent an intermediate checkbox state and a themeable child-selected CSS state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, java
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100