Thanks for the update 1.4.0 Just want to point out another thing from th

Thanks for the update 1.4.0 Just want to point out another thing from the previous version 1.3.0. When trying to export from a grid with zero (0) records. I get a ArithmaticException


java.lang.ArithmeticException: / by zero
at com.vaadin.flow.data.provider.Query.getPage(Query.java:127)
~[flow-data-23.2.6.jar:23.2.6]
at sr.we.ui.views.invoice.InvoiceDataProvider.lambda$fetch$6d9ae2b2$1
(InvoiceDataProvider.java:28) ~[classes/:na]



Hi José, sorry we missed your previous message. Regarding this issue I wasn't able to reproduce it, could it be a missing check on the fetch method? Are you checking that size != 0, and returning an empty stream in that case? If problem persists, please create an issue with a reproducible example in https://github.com/FlowingCode/GridExporterAddon/issues so we can take a deeper look.

Regards.