The example application
We will develop a simple application to test Vaadin's capability to show hundreds of thousands of rows in a Grid
component. The users can filter the data in the Grid
by typing a filter text that the application matches against three of the columns (C
lient
, Phone Number
, and City
). The users can also change the position of the columns (by dragging them from the header) and order the rows (by clicking on the column headers). The following is a screenshot of the example application:

The data model
This chapter uses the same data model used in Chapter 8, Adding Reporting Capabilities. The data model is based on a simple SQL table, Call
. We'll use JPA to connect to a file-based H2 database. The JPA logic is encapsulated in a CallRepository
class. For more details about the data model, please refer to Chapter 8, Adding Reporting Capabilities.
Note
You can find the complete source code of this chapter's example in the Data-centric-Applications-with-Vaadin-8\chapter-09
Maven...