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 compatibility broken in 7.5.5 against 7.4.5
I have below code to populate the grid and it works fine with 7.4.5 version. But when I upgrade the version to 7.5.5 the grid won't display the data in grid. it shows the grid headers but data is empty. below is the code :
resultGrid.removeAllColumns();
Container container = resultGrid.getContainerDataSource();
container.removeAllItems();
Collection containerProperties = container.getContainerPropertyIds();
List<String> propertyIds = new ArrayList<String>();
for(Object propertyId : containerProperties) {
propertyIds.add(String.valueOf(propertyId));
}
for(String propertyId : propertyIds){
container.removeContainerProperty(propertyId);
}
for(String header : presenter.getHeaders()){
resultGrid.addColumn(header);
resultGrid.getColumn(header).setMinimumWidth(115);
}
try{
for(Map.Entry<PortfolioStatistic, List<Double>> result : presenter.getData().entrySet()){
List<String> tempList = new ArrayList<String>();
PS ps = result.getKey();
tempList.add(ps.getName());
for(Double value : result.getValue()){
tempList.add(ps.getNumberFormat().format(value));
}
resultGrid.addRow(tempList.toArray());
}
}catch(Exception e){
e.printStackTrace();
}
resultGrid.getColumn("first").setWidth(250);
resultGrid.setFrozenColumnCount(1);
Hello, please make sure you have the client-side widgetset also up to date. You can use the ?debug window info tab to check that the client and server version numbers match.
Yes, both versions were same. Didn't get much time to dig it more. I upgraded to latest version 7.5 9 and don't see that issue anymore. appriciate your time.