With above code, the grid is not rendering anything, however if I comment out last line in the code (simpleGrid.addColumn(SimplePojo::isTruth, booleanRenderer).setId(“truth”).setCaption(“Truth”);) then its able to render the grid with three columns (Id, Description, Truth Value) correctly.
So can you guide me where do I do wrong in above code, please?
I am using vaadin version - 8.8.0 and grid-renderers-collection-addon - 2.6.1.
I tried per your suggestions but no luck, here is my plugin details -
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>${vaadin.version}</version>
<configuration>
<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
<webappDirectory>${basedir}/target/classes/VAADIN/widgetsets</webappDirectory>
<draftCompile>false</draftCompile>
<compileReport>true</compileReport>
<style>OBF</style>
<strict>true</strict>
</configuration>
<executions>
<execution>
<goals>
<goal>update-theme</goal>
<goal>update-widgetset</goal>
<goal>compile-theme</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
I am unable to figure out whats wrong in my project. Surprisingly I dont get any error about the plugin or project as well. Your help is highly appreciated.
Regards,
Sandeep