title: Get List<items> from Vaadin 8 Grid
body: <p><strong>Problem:</strong> I have a Vaadin 8 Grid , and I can't find a way to extract the items inside of it.</p>
  
  <p><strong>Description:</strong>
  Starting from a grid </p>
  
  <pre><code>Grid&lt;Pojo&gt; myGrid = new Grid&lt;&gt;();
  </code></pre>
  
  <p>I've configured it so it can take data with lazy loading.</p>
  
  <pre><code>    myGrid.setDataProvider(
              (sortOrd, offset, limit) -&gt; dao.getAllFiltered(offset, limit, filter),
              () -&gt; dao.getCountAllFiltered(filter)
      );
  </code></pre>
  
  <p>At this point, I want to extraxt all the items from the grid (for putting that into an excel), something like <code>List&lt;Pojo&gt; list = myGrid.getItems();</code>. I've also tried passing through <code>myGrid.getDataProvider()</code> , but there are no useful getter into it.</p>
  
  <p>I can't find any getter, how can I achieve this? Thanks</p>