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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Grid problem with dynamically created objects in Groovy
Hello guys,
I have a problem when trying to assign dynamically created objetcs created in groovy to BeanItemContainer which is set as datasource to Vaadin Grid component. Problem is that only first item appears in Grid even If I have many instances of dynamically created objects assigned to BeanItemContainer.
I'm using dynamically creation as it is described here:
http://www.codeproject.com/Tips/766506/Create-Groovy-Classes-Dynamically
Does anybody has a hint what could go wrong here....
Bojan
Already solved...
Problem was that I was creating classes in for loop instead of creating class just once and creating instances in loop. ;)
Anyway... It is fixed now ;)
Bojan