vaadin / vaadin/framework

Grid Cell/Row focus server side events

Open
#9,547 2 comments 0 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

We would like to be able to get an event generated at the server side when a cell focus change occurs(similar to the one for selection).

Our use case is a master-detail view for a messaging application and we need all of the following to work together:

  1. Multi-Selection of rows
  2. Drag and Drop support for currently selected rows
  3. Keyboard navigation - focus events to update the detail
  4. Item click events - to update the detail

While everything works as expected we also need a way to get the keyboard focus events to work properly which is currently not possible.

So as it stands we switched back to using the v7 Table.

I see there are lot of issue/requests(#7081, #8349 and #9506 ) regarding a Grid focus API but no responses/comments, which makes me wonder if there are any plans at all to add Focus API support for Grid at all in the future?

Vaadin Version: 8.1.0.beta1

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 reviewing the existing Grid selection event API and the related focus requests #7081, #8349, and #9506. Confirm how keyboard focus changes are represented and how they should interact with multi-selection, drag and drop, and item clicks. Done means a server-side focus-change event supports the stated master-detail use case.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.