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:

Does anybody has a hint what could go wrong here…


Already solved…
Problem was that I was creating classes in for loop instead of creating class just once and creating instances in loop. :wink:
Anyway… It is fixed now :wink: