Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Few problems using Grid

David De La Hoz
6 years ago Aug 25, 2015 6:01am

Hello, I'm trying to use Grid to display data and create a CRUD. I'm loading the data using a 
BeanItemContainer with a Grails service and GeneratedPropertyContainer to add custom columns.

Following this example http://demo.vaadin.com/sampler/#ui/grids-and-trees/grid/features I added a filter to one of my columns but when I try to use the filter nothing happens, I checked if the event of text change occurs and they works but the filter is not doing nothing with the grid.

The other thing I'm trying is to add FontAwesome icons rendering using a HtmlRenderer, but my principal goal is to add a click listener and onHover to display a caption with the icon.

Someone can help me to aproach these two things or I have to use Table.

 

Tatu Lund
6 years ago Aug 25, 2015 8:40am
Marius Reinwald
6 years ago Aug 25, 2015 9:04am

To add to Tatu's post:
For the second question Ovil Hemeke already made a HtmlButtonRenderer that i also use in my project and it does exactly what you're after:
https://vaadin.com/forum/#!/thread/9225584/10109123

David De La Hoz
6 years ago Aug 25, 2015 1:55pm
David De La Hoz
6 years ago Aug 25, 2015 6:58pm
Marius Reinwald
6 years ago Aug 26, 2015 6:34am
David De La Hoz
6 years ago Aug 26, 2015 6:43am
Marius Reinwald
6 years ago Aug 26, 2015 8:29am
David De La Hoz
6 years ago Sep 15, 2015 2:06am
Anand Shah
5 years ago May 26, 2016 1:42am
santosh kewill
5 years ago May 26, 2016 7:58am