We have an application developed with Vaadin 7, which makes intensive use of Table and TabSheet.
We have started migrating to Vaadin Flow and are facing serious issues, especially with these two components.
• Grid - navigation through up and down arrows does not select grid line.
• Tabs - We do not understand the working model of this component. In TabSheet it is very simple to add a Tab with its content, in Tabs it seems that the Tab and its content are completely separate things.
@Grid: That’s mostly correct, when selecting a grid row and then using the arrow keys, the focus changes (blue border). When hitting space, the focused row will be selected. Don’t know, if there is some way to circumcise that behavior (for instance by using client side API).
@Tab: That’s also correct. The intention is to allow a more flexible layouting of tabs and tab content, which might not always be tight connected to each other. But there are already addons to bring back the old way of using tabs: https://vaadin.com/directory/component/paged-tabs
Hi Stefan,
In Table (Vaadin 7) we use the valueChanged event a lot with arrow navigation, which triggers events to load other data into forms automatically, if we depend on the user using the spacebar, the application behavior will change a lot. For us, the ideal is for Grid to be selected using arrow navigation, it could be a Grid property to enable as needed.
I don’t think so.
For tabs, paged-tabs add-on is corresponding to the old behavior.
For the grid, if you are navigating with arrow it doesn’t select the row.
There is this add-on for multiselection that mimics the Vaadin 7 table multi-selection mode: https://vaadin.com/directory/component/selection-grid/overview
I need a position from Vaadin if it will be possible, and when, include navigation in the GRID component (Up arrow, down arrow) triggering selected row events, to define whether or not we will continue with Vaadin in the development of our applications.
I really don’t understand why a feature as basic as this, already present natively in the Table component of Vaadin 7, was not implemented in the GRID component.
Please, I need an answer on this question.
I really don’t understand why a feature as basic as this, already present natively in the Table component of Vaadin 7, was not implemented in the GRID component. Please, I need an answer on this question.
There is ongoing work to implement cell focus tracking event in Grid. The client part has been already completed, but Java API has not been done yet. It is at the moment hard to forecast in which release this will eventually land to.
But when complete, you can follow in which cell / row the focus is and do what you want with it. E.g. you could move the selection or do something else.