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
3
votes
1 answer

How to add converter to grid column in Vaadin 8?

I am using Vaadin 8 and I am facing a problem. In my constructor, I create a grid which I add to a layout. Grid grid = new Grid<>(); grid.removeAllColumns(); //Here, I add columns to the grid grid.addColumn(... grid.addColumn(… … I then want…
Andferdd
  • 91
  • 3
3
votes
0 answers

Get header text from Vaadin 14 Grid (HeaderCell)

I have implemented an export functionality from a Vaadin 7 and Vaadin 8 Grid. Now we migrate to Vaadin 14 and I cannot find a way to get the header text. I tried to work with the Renderer: Column column = grid.getColumnByKey(columnKey); Renderer…
bingele28
  • 61
  • 1
  • 5
3
votes
1 answer

Vaadin horizontal scroll on mouse wheel

I use a Vaadin Grid which has many columns (50) and only some rows (10). By default it scrolls vertically when the user uses the mouse wheel which is not desired in this scenario. Is there a built in way to achieve horizontal scrolling on mouse…
hornisgrinde
  • 152
  • 1
  • 10
3
votes
1 answer

Vaadin: Daisy chain of filters?

I have this particular problem now - I have a grid that I am trying to have the data filtered through multiple filters. For that, I am using textboxes that serve as input fields for my filtering criterion. My grid has three columns (First Name, Last…
JoffJoff
  • 145
  • 1
  • 12
3
votes
1 answer

Vaadin - data from multiple objects to Grid

I want to insert data from multiple objects (eg. from 2 Spring Data entities); I know how to make left join from multiple entities, but I'm not sure how to make Custom object from that...
Kris_1313
  • 79
  • 9
3
votes
1 answer

is there a "Select All" checkbok in Vaadin 13 Grid (that works even with filter conditions & when even some of the data is NOT in the cache?)

In Vaadin 13, I have enabled "multiselect" for my grids, which works great. However, often, even after filtering, I have hundreds of items (so selecting each of them would be tedious). In an old old gwt "grid" tool I used years ago, they had a…
Jonathan Sylvester
  • 1,275
  • 10
  • 23
3
votes
1 answer

Vaadin Flow Grid. scroll to item programmatically

After selecting an item programmatically I want to scroll to them. How can I scroll to selected item programmatically in Vaadin 10? I did not found any method to do this.
user1167253
  • 813
  • 1
  • 11
  • 27
3
votes
1 answer

Vaadin 10 grid style individual row based on contents

I am using a Vaadin grid to display incoming information and update it in realtime. I have been able to style all of the rows by accessing the DOM like so: