Feature - Grid: better control over focused cell
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
Vaadin 8 grid allows keyboard navigation in the grid - the documentation refers to it as focused and it looks like a blue box over cell borders.
1.) I would like to be able to know which cell (row and column) is currently focused. Just like there are getSelection/setSelection method, there could be getFocusedItem/getFocusedColum/setFocusedCell.
2.) I would like to be able to set focused set programmatically.
Use case: I want to implement copy paste via ctrl-c/ctrl-v in the grid.
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 with the Vaadin Grid keyboard-navigation behavior described in the linked documentation, focusing on how the currently focused cell is represented. Determine the API needed to read the focused row and column and to set the focused cell programmatically. Done means callers can perform both operations reliably for copy-paste use cases, with corresponding coverage for the new behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100