Questions tagged [vaadin-grid]

Vaadin Grid component for display of tabular data.

The Grid component was added in Vaadin 7.4 as an alternative to the venerable Table component. It has since seen multiple iterations.

Grid (free) documentation:

Grid Pro (commercial) documentation:

Table documentation:

432 questions
19
votes
4 answers

Vaadin Grid vs Table

What is the difference between the Grid and Table components in Vaadin 7? Which should I use, and when?
Daniel Hári
  • 7,254
  • 5
  • 39
  • 54
13
votes
1 answer

How to color a grid row conditionally in Vaadin 8?

I want to change the color of a Vaadin grid row based on a value of a cell. I tried it as follows and did not work. SCSS @import "mytheme.scss"; @import "addons.scss"; // This file prefixes all rules with the theme name to avoid causing conflicts…
Hiran Perera
  • 736
  • 1
  • 5
  • 18
10
votes
5 answers

Vaadin - Refresh grid after row modification

I create simple grid with data from database: BeanItemContainer container = new BeanItemContainer<>(Customer.class, customerRepository.findAll()); Grid grid = new Grid(container); To edit each row the button was created: Button edit = new…
jsosnowski
  • 1,560
  • 3
  • 26
  • 56
9
votes
2 answers

Immediately select row by Arrow key in Vaadin 7 Grid

In Vaadin 7.5.3, the Grid widget responds to the user pressing the Up (↑) or Down (↓) arrow keys by moving a highlight box around a single cell. If the user then takes a second action, pressing the SpaceBar key, the row becomes selection. I am…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
8
votes
1 answer

Vaadin Flow Grid with Row-Index

How do I add a row-index column to a grid, that will not be sorted along user-sorting of rows? The solution must not include changes to any polymer template, but should rather be done in java.
kscherrer
  • 5,486
  • 2
  • 19
  • 59
8
votes
2 answers

How to display a Grid cell tooltip in Vaadin Flow

With Vaadin 8 you could set a tooltip for a Grid cell. This feature is not available in Vaadin Flow (currently using v 11.0.0). Is there an alternative?
rmuller
  • 12,062
  • 4
  • 64
  • 92
8
votes
1 answer

vaadin-grid-filter for an Array of Strings not working

I am using the vaadin-grid-filter with Polymer 2.x and I am facing the following problem. I have a vaadin-grid-column as following,