Hi I was trying to use for a vaadin 8 grid , I add setId() as is indicate in the error
“No exportable column found, did you remember to set property name as the key for column”
my code :
this.addColumn(DynamicDBean::getCol2).setCaption(TranslateResource.getFieldLocale(rowsColList.get(2)).setId("col2");`
but still get that error ,
I debuged and found that what returns false in the method → "isExportable(Grid.Column column) " is the following code :
if (!option.getColumnOption(column.getId()).getValueProviderFunction().isPresent()) {
return false;
}
But I don’t understand what is checking there, do I have to do something else than setId(…) ?