Summary
In this chapter, we learned how to implement lazy loading by enhancing the backend service methods to support it. We learned how to use a lazy-loaded Grid component with filtering and ordering capabilities. We implemented a DataProvider by providing two lambda expressions: one for getting slices of data and one for counting the total number of items. We also discussed UX aspects to take into consideration when dealing with large datasets and learned how to implement infinite lazy loading as an alternative to having a Grid with thousands of rows.
This chapter closes the journey through many interesting topics related to modularization, API design, UI design, and data management in applications developed with Vaadin. There is much more ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access