This project shows a basic example how to use the Vaadin API to implement the grid component in your web application.
The following features are shown in the example:
- add columns and refer to specific data
- define the corresponding header string
- set sorting and its individual comparator
- change column width and set it fixed
To display data in the component it will show a basic example of the data provider.
To access it directly from github, clone the repository and import the project to the IDE of your choice as a Maven project. You need to have Java 8 installed. If you don't have npm locally installed, activate the no-local-npm profile.
Run using mvn jetty:run
and open http://localhost:8080 in browser.