Hi guys,
I am data source i.e. a simple pojo that contains set of strings.
public class Example {
private String example1;
private String example2;
//getters and setters
}
and utility like this:
public class ExampleUtil {
public static BeanItemContainer<Example> createExampleContainer() {
BeanItemContainer<Example> container = new BeanItemContainer<Example>(
Example.class);
}
My question is how do I populate the grid using such data source… and populate the grid.
so that I get the grid with column 1.
There is this
example
… but how to get rid of random generation of the data from this?