<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Api on Flowing Code</title><link>https://www.flowingcode.com/en/tag/api/</link><description>Recent content in Api on Flowing Code</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 07 May 2020 15:22:02 +0000</lastBuildDate><atom:link href="https://www.flowingcode.com/en/tag/api/index.xml" rel="self" type="application/rss+xml"/><item><title>Lazy, Filtered and Sorted Vaadin Grid using External Data Source</title><link>https://www.flowingcode.com/en/lazy-filtered-and-sorted-vaadin-grid-using-external-data-source/</link><pubDate>Wed, 24 Apr 2019 18:06:00 +0000</pubDate><guid>https://www.flowingcode.com/en/lazy-filtered-and-sorted-vaadin-grid-using-external-data-source/</guid><description>&lt;div style="clear: both; text-align: center;">&lt;img alt="" class="alignnone size-full wp-image-391" height="340" loading="lazy" src="https://www.flowingcode.com/images/uploads/2019/04/Lazy-Filtered-and-Sorted-Vaadin-Grid-using-External-Data-Source.png" width="760"/>&lt;/div>
&lt;div>&lt;/div>
&lt;div style="text-align: justify;">In large enterprise application development projects, it’s usual to code use cases that, as the main requirement, define to show the user huge amounts of data in a tabular way. For this kind of scenarios, there is a particular web component that comes really handy: a Grid. Given that we like Vaadin’s framework, we are going to describe how to configure it in such a way that doesn’t restrict you about performance issues when doing that.&lt;/div>
&lt;div style="text-align: justify;">This post assumes that you have some knowledge of web application development using the Vaadin Framework and the Java Platform. But we’ll try to explain everything as much as possible. The version that we used to write this application is Vaadin 13, but this part of the API is almost the same since Vaadin 8, so it should be possible to use the same approach in older versions.&lt;/div>
&lt;div style="text-align: justify;">Setting up a Vaadin Grid, is really easy, just create an instance and then customize the columns, or even skip that part if your Pojo is sufficiently self-descriptive.&lt;/div>
&lt;div style="text-align: justify;">As an example, let’s assume that we want to show a grid with data for a person, which we can define as a simplified entity like this:&lt;/div>
&lt;p>&lt;/p></description></item></channel></rss>