title: How to export data with lazy loading page table in PrimeFaces?
body: <p>I have <code>&lt;p:dataTable lazy="true" ... /&gt;</code> and I want to be able to export the current page with <code>&lt;p:dataExporter .. /&gt;</code>. If my my total rows count is 12 and my page size is 10, I have two pages. The first page has 10 rows, the second page - 1 row. When I click export and I am on the first page I get 11 rows exported in excel (the first row is duplicated on first and last position). Also if I go to the second page, where I have only 1 row and click export the excel contains 1 row on first position, 9 empty lines and the same row on position 11. Which is very odd.</p>